CVE-2020-1662

Junos OS and Junos OS Evolved: RPD crash due to BGP session flapping.

AllVuln state: AFFECTED

HIGH
CVSS
7.5
3.1
EPSS
1.29%
Percentile 71.23%
CISA KEV
Not listed
Published
October 16, 2020
Updated September 16, 2024

Description

On Juniper Networks Junos OS and Junos OS Evolved devices, BGP session flapping can lead to a routing process daemon (RPD) crash and restart, limiting the attack surface to configured BGP peers. This issue only affects devices with BGP damping in combination with accepted-prefix-limit configuration. When the issue occurs the following messages will appear in the /var/log/messages: rpd[6046]: %DAEMON-4-BGP_PREFIX_THRESH_EXCEEDED: XXXX (External AS x): Configured maximum accepted prefix-limit threshold(1800) exceeded for inet6-unicast nlri: 1984 (instance master) rpd[6046]: %DAEMON-3-BGP_CEASE_PREFIX_LIMIT_EXCEEDED: 2001:x:x:x::2 (External AS x): Shutting down peer due to exceeding configured maximum accepted prefix-limit(2000) for inet6-unicast nlri: 2001 (instance master) rpd[6046]: %DAEMON-4: bgp_rt_maxprefixes_check_common:9284: NOTIFICATION sent to 2001:x:x:x::2 (External AS x): code 6 (Cease) subcode 1 (Maximum Number of Prefixes Reached) AFI: 2 SAFI: 1 prefix limit 2000 kernel: %KERN-5: mastership_relinquish_on_process_exit: RPD crashed on master RE. Sending SIGUSR2 to chassisd (5612:chassisd) to trigger RE switchover This issue affects: Juniper Networks Junos OS: 17.2R3-S3; 17.3 version 17.3R3-S3 and later versions, prior to 17.3R3-S8; 17.4 version 17.4R2-S4, 17.4R3 and later versions, prior to 17.4R2-S10, 17.4R3-S2; 18.1 version 18.1R3-S6 and later versions, prior to 18.1R3-S10; 18.2 version 18.2R3 and later versions, prior to 18.2R3-S4; 18.2X75 version 18.2X75-D50, 18.2X75-D60 and later versions, prior to 18.2X75-D53, 18.2X75-D65; 18.3 version 18.3R2 and later versions, prior to 18.3R2-S4, 18.3R3-S2; 18.4 version 18.4R2 and later versions, prior to 18.4R2-S5, 18.4R3-S2; 19.1 version 19.1R1 and later versions, prior to 19.1R2-S2, 19.1R3-S1; 19.2 version 19.2R1 and later versions, prior to 19.2R1-S5, 19.2R2; 19.3 versions prior to 19.3R2-S3, 19.3R3; 19.4 versions prior to 19.4R1-S3, 19.4R2; 20.1 versions prior to 20.1R1-S2, 20.1R2. Juniper Networks Junos OS Evolved prior to 20.1R2-EVO. This issue does not affect Juniper Networks Junos OS versions prior to 17.2R3-S3.

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-20

What should I do?

Review the vendor remediation for fixed or recommended release 20.1R2-EVO.

Supported product evidence

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

Applicability

UNKNOWN · UNKNOWN
{"status": "affected", "version": "19.4-EVO"}
AFFECTED · RANGE
20.1R2-EVO
NOT_AFFECTED · EXACT
20.1R2-EVO
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 20.1
First fixed: 20.1R2-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 · EXACT
17.2R3-S3
NOT_AFFECTED · RANGE
17.2R3-S3
AFFECTED · EXACT
17.3R3-S3
UNKNOWN · UNKNOWN
{"changes": [{"at": "17.4R2-S10, 17.4R3-S2", "status": "unaffected"}], "lessThan": "17.4*", "status": "affected", "version": "17.4R2-S4, 17.4R3", "versionType": "custom"}
AFFECTED · EXACT
18.1R3-S6
AFFECTED · EXACT
18.2R3
UNKNOWN · UNKNOWN
{"changes": [{"at": "18.2X75-D53, 18.2X75-D65", "status": "unaffected"}], "lessThan": "18.2X75*", "status": "affected", "version": "18.2X75-D50, 18.2X75-D60", "versionType": "custom"}
AFFECTED · EXACT
18.3R2
AFFECTED · EXACT
18.4R2
AFFECTED · EXACT
19.1R1
AFFECTED · EXACT
19.2R1
UNKNOWN · UNKNOWN
{"lessThan": "19.3R2-S3, 19.3R3", "status": "affected", "version": "19.3", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "19.4R1-S3, 19.4R2", "status": "affected", "version": "19.4", "versionType": "custom"}
UNKNOWN · UNKNOWN
{"lessThan": "20.1R1-S2, 20.1R2", "status": "affected", "version": "20.1", "versionType": "custom"}
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

No explicit authoritative fix is currently available.

Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

UNKNOWN · UNKNOWN
{'status': 'affected', 'version': '19.4-EVO'}
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
20.1-EVO → 20.1R2-EVO
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]

Remediation

UNKNOWN
Release train: 20.1
First fixed: Unknown
Vendor recommended: Not supplied
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

UNKNOWN · UNKNOWN
{'status': 'affected', 'version': '17.2R3-S3'}
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
NOT_AFFECTED · RANGE
unspecified → 17.2R3-S3
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
17.3R3-S3 → 17.3*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
17.4R2-S4, 17.4R3 → 17.4*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
18.1R3-S6 → 18.1*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
18.2R3 → 18.2*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
18.2X75-D50, 18.2X75-D60 → 18.2X75*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
18.3R2 → 18.3*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
18.4R2 → 18.4*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
19.1R1 → 19.1*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
19.2R1 → 19.2*
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
19.3 → 19.3R2-S3, 19.3R3
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
19.4 → 19.4R1-S3, 19.4R2
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]
AFFECTED · RANGE
20.1 → 20.1R1-S2, 20.1R2
Required configuration: The example of the configuration stanza affected by this issue is as follows: [protocols bgp damping] used in combination with accepted-prefix-limit configuration: [protocols bgp ... accepted-prefix-limit]

Remediation

FIX_AVAILABLE
Release train: 17.3R3
First fixed: 17.3R3-S8
Vendor recommended: Not supplied
FIX_AVAILABLE
Release train: 17.4R2
First fixed: 17.4R2-S10, 17.4R3-S2
Vendor recommended: Not supplied
FIX_AVAILABLE
Release train: 18.1R3
First fixed: 18.1R3-S10
Vendor recommended: Not supplied
FIX_AVAILABLE
Release train: 18.2R3
First fixed: 18.2R3-S4
Vendor recommended: Not supplied
FIX_AVAILABLE
Release train: 18.2X75
First fixed: 18.2X75-D53, 18.2X75-D65
Vendor recommended: Not supplied
FIX_AVAILABLE
Release train: 18.3R2
First fixed: 18.3R2-S4, 18.3R3-S2
Vendor recommended: Not supplied
FIX_AVAILABLE
Release train: 18.4R2
First fixed: 18.4R2-S5, 18.4R3-S2
Vendor recommended: Not supplied
FIX_AVAILABLE
Release train: 19.1R1
First fixed: 19.1R2-S2, 19.1R3-S1
Vendor recommended: Not supplied
FIX_AVAILABLE
Release train: 19.2R1
First fixed: 19.2R1-S5, 19.2R2
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.1
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.