CyberSecBulletin
CVE-2024-21598NVD status: Analyzed

Junos OS: Improper Validation of Syntactic Correctness of Input

CVE-2024-21598 is a high-severity improper validation of syntactic correctness of input vulnerability in Junos OS from Juniper Networks, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 20.4R3-S9, 21.2R3-S7, 21.3R3-S5 as the first without the flaw, so updating Junos OS to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.57% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Junos OS to 20.4R3-S9 or 21.2R3-S7 or 21.3R3-S5 or 21.4R3-S5, whichever matches your release line, or a later version.
  2. Update Junos OS Evolved to 20.4R3-S9-EVO or 21.2R3-S7-EVO or 21.3R3-S5-EVO or 21.4R3-S5-EVO, whichever matches your release line, or a later version.
  3. Read the advisory on supportportal.juniper.net for workarounds and exact fixed builds.
  4. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Juniper NetworksJunos OS20.4 up to, but not including, 20.4R3-S9; 21.2 up to, but not including, 21.2R3-S7; 21.3 up to, but not including, 21.3R3-S5; 21.4 up to, but not including, 21.4R3-S5; 22.1 up to, but not including, 22.1R3-S4; 22.2 up to, but not including, 22.2R3-S3; 22.3 up to, but not including, 22.3R3-S1; 22.4 up to, but not including, 22.4R3; and 10 more ranges20.4R3-S9, 21.2R3-S7, 21.3R3-S5, 21.4R3-S5, 22.1R3-S4, 22.2R3-S3
Juniper NetworksJunos OS Evolved20.4-EVO up to, but not including, 20.4R3-S9-EVO; 21.2-EVO up to, but not including, 21.2R3-S7-EVO; 21.3-EVO up to, but not including, 21.3R3-S5-EVO; 21.4-EVO up to, but not including, 21.4R3-S5-EVO; 22.1-EVO up to, but not including, 22.1R3-S4-EVO; 22.2-EVO up to, but not including, 22.2R3-S3-EVO; 22.3-EVO up to, but not including, 22.3R3-S1-EVO; 22.4-EVO up to, but not including, 22.4R3-EVO; and 7 more ranges20.4R3-S9-EVO, 21.2R3-S7-EVO, 21.3R3-S5-EVO, 21.4R3-S5-EVO, 22.1R3-S4-EVO, 22.2R3-S3-EVO
Juniper NetworksJunos20.4; 21.2; 21.3; 21.4; 22.1; 22.2; 22.3; 22.4; and 1 more rangesNot stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CNA (juniper.net).

Scoring systemScoreSeverityScored by
CVSS 4.08.7HighCNA (juniper.net)
CVSS 3.17.5HighCNA (juniper.net)

Official description

An Improper Validation of Syntactic Correctness of Input vulnerability in the Routing Protocol Daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a network-based, unauthenticated attacker to cause a Denial of Service (DoS). If a BGP update is received over an established BGP session which contains a tunnel encapsulation attribute with a specifically malformed TLV, rpd will crash and restart. This issue affects Juniper Networks Junos OS: * 20.4 versions 20.4R1 and later versions earlier than 20.4R3-S9; * 21.2 versions earlier than 21.2R3-S7; * 21.3 versions earlier than 21.3R3-S5; * 21.4 versions earlier than 21.4R3-S5; * 22.1 versions earlier than 22.1R3-S4; * 22.2 versions earlier than 22.2R3-S3; * 22.3 versions earlier than 22.3R3-S1; * 22.4 versions earlier than 22.4R3; * 23.2 versions earlier than 23.2R1-S2, 23.2R2; Junos OS Evolved: * 20.4-EVO versions 20.4R1-EVO and later versions earlier than 20.4R3-S9-EVO; * 21.2-EVO versions earlier than 21.2R3-S7-EVO; * 21.3-EVO versions earlier than 21.3R3-S5-EVO; * 21.4-EVO versions earlier than 21.4R3-S5-EVO; * 22.1-EVO versions earlier than 22.1R3-S4-EVO; * 22.2-EVO versions earlier than 22.2R3-S3-EVO; * 22.3-EVO versions earlier than 22.3R3-S1-EVO; * 22.4-EVO versions earlier than 22.4R3-EVO; * 23.2-EVO versions earlier than 23.2R1-S2-EVO, 23.2R2-EVO; This issue does not affect Juniper Networks * Junos OS versions earlier than 20.4R1; * Junos OS Evolved versions earlier than 20.4R1-EVO. This is a related but separate issue than the one described in JSA79095.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Validation of Syntactic Correctness of Input

The product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax.

More Improper Validation of Syntactic Correctness of Input vulnerabilities (CWE-1286)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Junos OS

All Junos OS vulnerabilities

Recent Improper Validation of Syntactic Correctness of Input vulnerabilities

Spotted an error? Tell us.