Product Affected

This issue affects Junos OS all versions prior to 19.1R3-S9; 19.2, 19.3, 19.4, 20.2, 20.3, 20.4, 21.1, 21.2, 21.3, 21.4. Affected platforms: SRX Series.
High
7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

Problem

On SRX Series devices, an Improper Check for Unusual or Exceptional Conditions when using Certificate Management Protocol Version 2 (CMPv2) auto re-enrollment, allows a network-based, unauthenticated attacker to cause a Denial of Service (DoS) by crashing the pkid process.

The pkid process cannot handle an unexpected response from the Certificate Authority (CA) server, leading to crash.

A restart is required to restore services.

This issue affects:

Juniper Networks Junos OS on SRX Series:

  • All versions prior to 19.1R3-S9;
  • 19.2 versions prior to 19.2R3-S6;
  • 19.3 versions prior to 19.3R3-S7;
  • 19.4 versions prior to 19.4R3-S9;
  • 20.2 versions prior to 20.2R3-S5;
  • 20.3 versions prior to 20.3R3-S4;
  • 20.4 versions prior to 20.4R3-S4;
  • 21.1 versions prior to 21.1R3-S1;
  • 21.2 versions prior to 21.2R3;
  • 21.3 versions prior to 21.3R2;
  • 21.4 versions prior to 21.4R2.

The following minimal configuration must be present to be potentially vulnerable to this issue:

[security pki auto-re-enrollment cmpv2]

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

This issue was seen during production usage.

This issue has been assigned CVE-2022-22218.

Solution

The following software releases have been updated to resolve this specific issue:

Junos OS: 19.1R3-S9, 19.2R3-S6, 19.3R3-S7, 19.4R2-S7, 19.4R3-S9, 20.2R3-S5, 20.3R3-S4, 20.4R3-S4, 21.1R3-S1, 21.2R3, 21.3R2, 21.4R1-S2, 21.4R2, 22.1R1, and all subsequent releases.

This issue is being tracked as PR 1642410 which is visible on the Customer Support website.

Note: Juniper SIRT's policy is not to evaluate releases which are beyond End of Engineering (EOE) or End of Life (EOL).

IMPLEMENTATION:

Software Releases, patches and updates are available at https://support.juniper.net/support/downloads/.

Workaround

There are no known workarounds for this issue.

Severity Assessment

Information for how Juniper Networks uses CVSS can be found at KB 16446 [juniper.net] "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Modification History

2022-10-12: Initial Publication

Related Information