title: Junos OS and Junos OS Evolved: An rpd crash may occur when BGP is processing newly learned routes
description:
An Out-of-Bounds Write vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated, network-based attacker to cause a Denial of Service (DoS).
On all Junos OS and Junos OS Evolved devices an rpd crash and restart can occur while processing BGP route updates received over an established BGP session. This specific issue is observed for BGP routes learned via a peer which is configured with a BGP import policy that has hundreds of terms matching IPv4 and/or IPv6 prefixes.
This issue affects Juniper Networks Junos OS:
*  All versions prior to 20.4R3-S8;
*  21.1 version 21.1R1 and later versions;
*  21.2 versions prior to 21.2R3-S2;
*  21.3 versions prior to 21.3R3-S5;
*  21.4 versions prior to 21.4R2-S1, 21.4R3-S5.
This issue affects Juniper Networks Junos OS Evolved:
*  All versions prior to 20.4R3-S8-EVO;
*  21.1-EVO version 21.1R1-EVO and later versions;
*  21.2-EVO versions prior to 21.2R3-S2-EVO;
*  21.3-EVO version 21.3R1-EVO and later versions;
*  21.4-EVO versions prior to 21.4R2-S1-EVO, 21.4R3-S5-EVO.
problem types: CWE-787 Out-of-bounds Write
affected:
{
defaultStatus: unaffected
product: Junos OS
vendor: Juniper Networks
versions:
lessThan: 20.4R3-S8, status: affected, version: 0, versionType: semver
lessThan: 21.1*, status: affected, version: 21.1R1, versionType: semver
lessThan: 21.2R3-S2, status: affected, version: 21.2, versionType: semver
lessThan: 21.3R3-S5, status: affected, version: 21.3, versionType: semver
lessThan: 21.4R2-S1, 21.4R3-S5, status: affected, version: 21.4, versionType: semver
}
{
defaultStatus: unaffected
product: Junos OS Evolved
vendor: Juniper Networks
versions:
lessThan: 20.4R3-S8-EVO, status: affected, version: 0, versionType: semver
lessThan: 21.1*-EVO, status: affected, version: 21.1R1-EVO, versionType: semver
lessThan: 21.2R3-S2-EVO, status: affected, version: 21.2-EVO, versionType: semver
lessThan: 21.3*-EVO, status: affected, version: 21.3R1-EVO, versionType: semver
lessThan: 21.4R2-S1-EVO, 21.4R3-S5-EVO, status: affected, version: 21.4-EVO, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 7.5
baseSeverity: HIGH
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
version: 3.1
]
format: CVSS
scenarios: GENERAL
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: 20.4R3-S8, 21.2R3-S2, 21.3R3-S5, 21.4R2-S1, 21.4R3-S5, 22.1R1, and all subsequent releases.
Junos OS Evolved: 20.4R3-S8-EVO, 21.2R3-S2-EVO, 21.4R2-S1-EVO, 21.4R3-S5-EVO, 22.1R1-EVO, and all subsequent releases.
workarounds: There are no known workarounds for this issue.