title: Junos OS and Junos OS Evolved: PPMD goes into infinite loop upon receipt of malformed OSPF TLV
description: 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.
problem types: CWE-703 Improper Check or Handling of Exceptional Conditions
affected:
{
vendor: Juniper Networks
product: Junos OS
versions:
version: unspecified, lessThan: 19.1R3-S9, status: affected, versionType: custom
version: 19.2, status: affected, lessThan: 19.2R3-S5, versionType: custom
version: 19.3, status: affected, lessThan: 19.3R3-S3, versionType: custom
version: 19.4, status: affected, lessThan: 19.4R3-S9, versionType: custom
version: 20.1, status: affected, lessThan: 20.1R3, versionType: custom
version: 20.2, status: affected, lessThan: 20.2R3-S1, versionType: custom
version: 20.3, status: affected, lessThan: 20.3R3, versionType: custom
version: 20.4, status: affected, lessThan: 20.4R3, versionType: custom
version: 21.1, status: affected, lessThan: 21.1R2, versionType: custom
}
{
vendor: Juniper Networks
product: Junos OS Evolved
versions:
version: unspecified, lessThan: 20.4R3-S3-EVO, status: affected, versionType: custom
version: 21.1, status: affected, lessThan: 21.1R2-EVO, versionType: custom
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attackVector: ADJACENT_NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
baseScore: 6.5
baseSeverity: MEDIUM
]
exploits: Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
solutions: 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.
workarounds: 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