CVE-2024-39516

Junos OS and Junos OS Evolved: With certain BGP options enabled, receipt of specifically malformed BGP update causes RPD crash

AllVuln state: AFFECTED

HIGH
CVSS
7.5
3.1
EPSS
0.43%
Percentile 39.16%
CISA KEV
Not listed
Published
October 9, 2024
Updated October 16, 2024

Description

An Out-of-Bounds Read vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker sending a specifically malformed BGP packet to cause rpd to crash and restart, 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 configured in either of two ways: * systems with BGP traceoptions enabled * systems with BGP traffic engineering configured This issue can affect iBGP and eBGP with any address family configured. The specific attribute involved is non-transitive, and will not propagate across a network. This issue affects: Junos OS:  * All versions before 21.4R3-S8, * 22.2 before 22.2R3-S5,  * 22.3 before 22.3R3-S4,  * 22.4 before 22.4R3-S3,  * 23.2 before 23.2R2-S2,  * 23.4 before 23.4R2;  Junos OS Evolved:  * All versions before 21.4R3-S8-EVO,  * 22.2-EVO before 22.2R3-S5-EVO,  * 22.3-EVO before 22.3R3-S4-EVO,  * 22.4-EVO before 22.4R3-S3-EVO,  * 23.2-EVO before 23.2R2-S2-EVO,  * 23.4-EVO before 23.4R2-EVO.

Risk details

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attack vector
N
attack complexity
L
privileges required
N
user interaction
N
scope
U
CWE
CWE-125

What should I do?

Review the vendor remediation for fixed or recommended release 21.4R3-S8-EVO.

Supported product evidence

Juniper Networks · Junos OS Evolved
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.4R3-S8-EVO
NOT_AFFECTED · EXACT
21.4R3-S8-EVO
AFFECTED · RANGE
22.2R3-S5-EVO
NOT_AFFECTED · EXACT
22.2R3-S5-EVO
AFFECTED · RANGE
22.3R3-S4-EVO
NOT_AFFECTED · EXACT
22.3R3-S4-EVO
AFFECTED · RANGE
22.4R3-S3-EVO
NOT_AFFECTED · EXACT
22.4R3-S3-EVO
AFFECTED · RANGE
23.2R2-S2-EVO
NOT_AFFECTED · EXACT
23.2R2-S2-EVO
AFFECTED · RANGE
23.4R2-EVO
NOT_AFFECTED · EXACT
23.4R2-EVO
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S8-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S5-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-S4-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-S3-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2-S2-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.4
First fixed: 23.4R2-EVO
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.4R3-S8
NOT_AFFECTED · EXACT
21.4R3-S8
AFFECTED · RANGE
22.2R3-S5
NOT_AFFECTED · EXACT
22.2R3-S5
AFFECTED · RANGE
22.3R3-S4
NOT_AFFECTED · EXACT
22.3R3-S4
AFFECTED · RANGE
22.4R3-S3
NOT_AFFECTED · EXACT
22.4R3-S3
AFFECTED · RANGE
23.2R2-S2
NOT_AFFECTED · EXACT
23.2R2-S2
AFFECTED · RANGE
23.4R2
NOT_AFFECTED · EXACT
23.4R2
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.4
First fixed: 22.4R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.4
First fixed: 23.4R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.4R3-S8-EVO
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
22.2-EVO → 22.2R3-S5-EVO
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
22.3-EVO → 22.3R3-S4-EVO
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
22.4-EVO → 22.4R3-S3-EVO
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
23.2-EVO → 23.2R2-S2-EVO
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
23.4-EVO → 23.4R2-EVO
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]

Remediation

UNKNOWN
Release train: 21.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.4
First fixed: Unknown
Vendor recommended: Not supplied
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.4R3-S8
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
22.2 → 22.2R3-S5
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
22.3 → 22.3R3-S4
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
22.4 → 22.4R3-S3
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
23.2 → 23.2R2-S2
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]
AFFECTED · RANGE
23.4 → 23.4R2
Required configuration: One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue: [protocols bgp traceoptions packets detail] [protocols bgp traceoptions update detail] [protocols bgp group <group-name> traceoptions packets detail] [protocols bgp group <group-name> traceoptions update detail] [protocols bgp group <group-name> neighbor <address> traceoptions packets detail] [protocols bgp group <group-name> neighbor <address> traceoptions update detail] Systems configured with BGP traffic engineering are also vulnerable to this issue: [protocols bgp group <name> family traffic-engineering unicast]

Remediation

UNKNOWN
Release train: 21.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.4
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.