Product Affected

This issue affects all versions of Junos OS and Junos OS Evolved.
Medium
6.5 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

Problem

An Improper Check or Handling of Exceptional Conditions vulnerability in the processing of a malformed OSPF TLV in Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated adjacent attacker to cause the periodic packet management daemon (PPMD) process to go into an infinite loop, which in turn can cause protocols and functions reliant on PPMD such as OSPF neighbor reachability to be impacted, resulting in a sustained Denial of Service (DoS) condition.  The DoS condition persists until the PPMD process is manually restarted.

This issue affects:

Juniper Networks Junos OS:

  • All versions prior to 19.1R3-S9;
  • 19.2 versions prior to 19.2R3-S5;
  • 19.3 versions prior to 19.3R3-S3;
  • 19.4 versions prior to 19.4R3-S9;
  • 20.1 versions prior to 20.1R3;
  • 20.2 versions prior to 20.2R3-S1;
  • 20.3 versions prior to 20.3R3;
  • 20.4 versions prior to 20.4R3;
  • 21.1 versions prior to 21.1R2.

Juniper Networks Junos OS Evolved:

  • All versions prior to 20.4R3-S3-EVO;
  • 21.1 versions prior to 21.1R2-EVO.


Exploitation of this issue requires OSPF to be enabled. A sample OSPF configuration is shown below.

[protocols ospf area <area> interface <interface>]


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-22224.
 

Solution

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

Junos OS: 19.1R3-S9, 19.2R3-S5, 19.3R3-S3, 19.4R3-S9, 20.1R3, 20.2R3-S1, 20.3R3, 20.4R3, 21.1R2, 21.2R1, and all subsequent releases.

Junos OS Evolved: 20.4R3-S3-EVO, 21.1R2-EVO, 21.2R1-EVO, and all subsequent releases.


This issue is being tracked as 1582147 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 viable workarounds for this issue. However, service can be restored by restarting the PPMD process from the Junos shell:
 

First, identify the PID for the daemon.

root@Junos:~ # ps -aux | grep "[p]pm"
root 73848 0.0 0.0 740624 14072 - S 29Apr22 20:53.61 /usr/sbin/ppmd -N


Second, kill the process.

root@Junos:~ # kill -9 73848
 

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