title: Junos OS and Junos OS Evolved: RPD crash upon receipt of BGP route with invalid next-hop
description: An Improper Check for Unusual or Exceptional Conditions vulnerability in BGP route processing of Juniper Networks Junos OS and Junos OS Evolved allows an attacker to cause Routing Protocol Daemon (RPD) crash by sending a BGP route with invalid next-hop resulting in a Denial of Service (DoS). Continued receipt and processing of this packet will create a sustained Denial of Service (DoS) condition. This issue only affects systems without import policy configured. This issue affects: Juniper Networks Junos OS 21.1 versions prior to 21.1R3-S4; 21.2 versions prior to 21.2R3-S3; 21.3 versions prior to 21.3R3-S2; 21.4 versions prior to 21.4R2-S2, 21.4R3; 22.1 versions prior to 22.1R1-S2, 22.1R2; 22.2 versions prior to 22.2R1-S1, 22.2R2. Juniper Networks Junos OS Evolved 21.4-EVO versions prior to 21.4R2-S2-EVO, 21.4R3-EVO; 22.1-EVO versions prior to 22.1R1-S2-EVO, 22.1R2-EVO; 22.2-EVO versions prior to 22.2R1-S1-EVO, 22.2R2-EVO. This issue does not affect: Juniper Networks Junos OS versions prior to 21.1R1. Juniper Networks Junos OS Evolved versions prior to 21.3R1-EVO.
problem types: CWE-358 Improperly Implemented Security Check for Standard
affected:
{
vendor: Juniper Networks
product: Junos OS
versions:
version: unspecified, lessThan: 21.1R1, status: unaffected, versionType: custom
version: 21.1, status: affected, lessThan: 21.1R3-S4, versionType: custom
version: 21.2, status: affected, lessThan: 21.2R3-S3, versionType: custom
version: 21.3, status: affected, lessThan: 21.3R3-S2, versionType: custom
version: 21.4, status: affected, lessThan: 21.4R2-S2, 21.4R3, versionType: custom
version: 22.1, status: affected, lessThan: 22.1R1-S2, 22.1R2, versionType: custom
version: 22.2, status: affected, lessThan: 22.2R1-S1, 22.2R2, versionType: custom
}
{
vendor: Juniper Networks
product: Junos OS Evolved
versions:
version: unspecified, lessThan: 21.3R1-EVO, status: unaffected, versionType: custom
version: 21.4-EVO, status: affected, lessThan: 21.4R2-S2-EVO, 21.4R3-EVO, versionType: custom
version: 22.1-EVO, status: affected, lessThan: 22.1R1-S2-EVO, 22.1R2-EVO, versionType: custom
version: 22.2-EVO, status: affected, lessThan: 22.2R1-S1-EVO, 22.2R2-EVO, versionType: custom
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
baseScore: 7.5
baseSeverity: HIGH
]
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 : 21.1R3-S4, 21.2R3-S3, 21.3R3-S2, 21.4R2-S2, 21.4R3, 22.1R1-S2, 22.1R2, 22.2R1-S1, 22.2R2, 22.3R1, and all subsequent releases.
Junos OS Evolved : 21.4R2-S2-EVO, 21.4R3-EVO, 22.1R1-S2-EVO, 22.1R2-EVO, 22.2R1-S1-EVO, 22.2R2-EVO, 22.3R1-EVO, and all subsequent releases.
workarounds:
Ensure every BGP session has an import policy configured.