CVE-2023-4481
Junos OS and Junos OS Evolved: A crafted BGP UPDATE message allows a remote attacker to de-peer (reset) BGP sessions (CVE-2023-4481)
Mitigation
- Upgrade Junos OS Evolved to 23.2R2-EVO or later.
- Vendor workaround: The workaround is to configure BGP error tolerance by way of:
- [ protocols bgp bgp-error-tolerance ... ]
- Additional details can be found at https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bgp-error-messages.h... https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bgp-error-messages.html
- Juniper considers configuring this option to be a Best Common Practice (BCP) as it not only prevents this issue from happening, but protects against similar issues as well.
Who should check
- Anyone running Juniper Networks, Inc. Junos OS < 20.4R3-S10; >= 21.2, < 21.2R3-S5; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S7; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S3; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R3; >= 23.2, < 23.2R2; >= 21.1R1, <= 21.*
- Anyone running Juniper Networks, Inc. Junos OS Evolved < 20.4R3-S10-EVO; >= 21.2-EVO, < 21.2R3-S7-EVO; >= 21.3-EVO, < 21.3R3-S5-EVO; >= 21.4-EVO, < 21.4R3-S5-EVO; >= 22.1-EVO, < 22.1R3-S4-EVO; >= 22.2-EVO, < 22.2R3-S3-EVO; >= 22.3-EVO, < 22.3R3-S1-EVO; >= 22.4-EVO, < 22.4R3-EVO; >= 23.2-EVO, < 23.2R2-EVO
Vulnerability facts
- Affected
- Juniper Networks, Inc. Junos OS < 20.4R3-S10; >= 21.2, < 21.2R3-S5; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S7; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S3; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R3; >= 23.2, < 23.2R2; >= 21.1R1, <= 21.*; Juniper Networks, Inc. Junos OS Evolved < 20.4R3-S10-EVO; >= 21.2-EVO, < 21.2R3-S7-EVO; >= 21.3-EVO, < 21.3R3-S5-EVO; >= 21.4-EVO, < 21.4R3-S5-EVO; >= 22.1-EVO, < 22.1R3-S4-EVO; >= 22.2-EVO, < 22.2R3-S3-EVO; >= 22.3-EVO, < 22.3R3-S1-EVO; >= 22.4-EVO, < 22.4R3-EVO; >= 23.2-EVO, < 23.2R2-EVO
- Fixed in
- Juniper Networks, Inc. Junos OS 20.4R3-S10, Juniper Networks, Inc. Junos OS 21.2R3-S5, Juniper Networks, Inc. Junos OS 21.3R3-S5, Juniper Networks, Inc. Junos OS 21.4R3-S7, Juniper Networks, Inc. Junos OS 22.1R3-S4, Juniper Networks, Inc. Junos OS 22.2R3-S3, Juniper Networks, Inc. Junos OS 22.3R3-S1, Juniper Networks, Inc. Junos OS 22.4R3, Juniper Networks, Inc. Junos OS 23.2R2, Juniper Networks, Inc. Junos OS Evolved 20.4R3-S10-EVO, Juniper Networks, Inc. Junos OS Evolved 21.2R3-S7-EVO, Juniper Networks, Inc. Junos OS Evolved 21.3R3-S5-EVO, Juniper Networks, Inc. Junos OS Evolved 21.4R3-S5-EVO, Juniper Networks, Inc. Junos OS Evolved 22.1R3-S4-EVO, Juniper Networks, Inc. Junos OS Evolved 22.2R3-S3-EVO, Juniper Networks, Inc. Junos OS Evolved 22.3R3-S1-EVO, Juniper Networks, Inc. Junos OS Evolved 22.4R3-EVO, Juniper Networks, Inc. Junos OS Evolved 23.2R2-EVO
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.30% chance of exploitation in 30 days (percentile 71, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
An Improper Input Validation 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). When certain specific crafted BGP UPDATE messages are received over an established BGP session, one BGP session may be torn down with an UPDATE message error, or the issue may propagate beyond the local system which will remain non-impacted, but may affect one or more remote systems. This issue is exploitable remotely as the crafted UPDATE message can propagate through unaffected systems and intermediate BGP speakers. Continuous receipt of the crafted BGP UPDATE messages will create a sustained Denial of Service (DoS) condition for impacted devices. This issue affects eBGP and iBGP, in both IPv4 and IPv6 implementations. This issue requires a remote attacker to have at least one established BGP session. Improper Input Validation, Denial of Service vulnerability in Juniper Networks, Inc. Junos OS (BGP, rpd modules), Juniper Networks, Inc. Junos OS Evolved (BGP, rpd modules) allows Fuzzing.This issue affects Junos OS: * All versions before 20.4R3-S10, * from 21.1R1 through 21.*, * from 21.2 before 21.2R3-S5, * from 21.3 before 21.3R3-S5, * from 21.4 before 21.4R3-S7 (unaffected from 21.4R3-S5, affected from 21.4R3-S6) * from 22.1 before 22.1R3-S4, * from 22.2 before 22.2R3-S3, * from 22.3 before 22.3R3-S1, * from 22.4 before 22.4R3, * from 23.2 before 23.2R2. Junos OS Evolved: * All versions before 20.4R3-S10-EVO, * from 21.2-EVO before 21.2R3-S7-EVO, * from 21.3-EVO before 21.3R3-S5-EVO, * from 21.4-EVO before 21.4R3-S5-EVO, * from 22.1-EVO before 22.1R3-S4-EVO, * from 22.2-EVO before 22.2R3-S3-EVO, * from 22.3-EVO before 22.3R3-S1-EVO, * from 22.4-EVO before 22.4R3-EVO, * from 23.2-EVO before 23.2R2-EVO.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Juniper Networks, Inc. Junos OS | < 20.4R3-S10; >= 21.2, < 21.2R3-S5; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S7; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S3; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R3; >= 23.2, < 23.2R2; >= 21.1R1, <= 21.* | — | cvelist |
| Juniper Networks, Inc. Junos OS Evolved | < 20.4R3-S10-EVO; >= 21.2-EVO, < 21.2R3-S7-EVO; >= 21.3-EVO, < 21.3R3-S5-EVO; >= 21.4-EVO, < 21.4R3-S5-EVO; >= 22.1-EVO, < 22.1R3-S4-EVO; >= 22.2-EVO, < 22.2R3-S3-EVO; >= 22.3-EVO, < 22.3R3-S1-EVO; >= 22.4-EVO, < 22.4R3-EVO; >= 23.2-EVO, < 23.2R2-EVO | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-4481. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-4481.md Affected: Juniper Networks, Inc. Junos OS < 20.4R3-S10; >= 21.2, < 21.2R3-S5; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S7; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S3; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R3; >= 23.2, < 23.2R2; >= 21.1R1, <= 21.*; Juniper Networks, Inc. Junos OS Evolved < 20.4R3-S10-EVO; >= 21… Fixed in: Juniper Networks, Inc. Junos OS 20.4R3-S10, Juniper Networks, Inc. Junos OS 21.2R3-S5, Juniper Networks, Inc. Junos OS 21.3R3-S5, Juniper Networks, Inc. Junos OS 21.4R3-S7, Juniper Networks, Inc. Junos OS 22.1R3-S4, Juniper Networks, Inc. Junos OS 22.2R3-S3, Juniper Networks, Inc. Junos OS 22.3R3-S… Steps: 1. Search this machine and project for Juniper Networks, Inc. Junos OS, Juniper Networks, Inc. Junos OS Evolved: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-4481 being exploited?
There is no confirmed exploitation: CVE-2023-4481 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-4481?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-4481?
Juniper Networks, Inc. Junos OS < 20.4R3-S10; >= 21.2, < 21.2R3-S5; >= 21.3, < 21.3R3-S5; >= 21.4, < 21.4R3-S7; >= 22.1, < 22.1R3-S4; >= 22.2, < 22.2R3-S3; >= 22.3, < 22.3R3-S1; >= 22.4, < 22.4R3; >= 23.2, < 23.2R2; >= 21.1R1, <= 21.*; Juniper Networks, Inc. Junos OS Evolved < 20.4R3-S10-EVO; >= 21.2-EVO, < 21.2R3-S7-EVO; >= 21.3-EVO, < 21.3R3-S5-EVO; >= 21.4-EVO, < 21.4R3-S5-EVO; >= 22.1-EVO, < 22.1R3-S4-EVO; >= 22.2-EVO, < 22.2R3-S3-EVO; >= 22.3-EVO, < 22.3R3-S1-EVO; >= 22.4-EVO, < 22.4R3-EVO; >= 23.2-EVO, < 23.2R2-EVO.
Is there a fix for CVE-2023-4481?
Yes. Fixed in Juniper Networks, Inc. Junos OS 20.4R3-S10, Juniper Networks, Inc. Junos OS 21.2R3-S5, Juniper Networks, Inc. Junos OS 21.3R3-S5, Juniper Networks, Inc. Junos OS 21.4R3-S7, Juniper Networks, Inc. Junos OS 22.1R3-S4, Juniper Networks, Inc. Junos OS 22.2R3-S3, Juniper Networks, Inc. Junos OS 22.3R3-S1, Juniper Networks, Inc. Junos OS 22.4R3, Juniper Networks, Inc. Junos OS 23.2R2, Juniper Networks, Inc. Junos OS Evolved 20.4R3-S10-EVO, Juniper Networks, Inc. Junos OS Evolved 21.2R3-S7-EVO, Juniper Networks, Inc. Junos OS Evolved 21.3R3-S5-EVO, Juniper Networks, Inc. Junos OS Evolved 21.4R3-S5-EVO, Juniper Networks, Inc. Junos OS Evolved 22.1R3-S4-EVO, Juniper Networks, Inc. Junos OS Evolved 22.2R3-S3-EVO, Juniper Networks, Inc. Junos OS Evolved 22.3R3-S1-EVO, Juniper Networks, Inc. Junos OS Evolved 22.4R3-EVO, Juniper Networks, Inc. Junos OS Evolved 23.2R2-EVO. Upgrade Junos OS Evolved to 23.2R2-EVO or later. Vendor workaround: The workaround is to configure BGP error tolerance by way of: [ protocols bgp bgp-error-tolerance ... ] Additional details can be found at https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bgp-error-messages.h... https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bgp-error-messages.html Juniper considers configuring this option to be a Best Common Practice (BCP) as it not only prevents this issue from happening, but protects against similar issues as well.
How do I check if I'm affected by CVE-2023-4481?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.