CyberSecBulletin
CVE-2024-39542NVD status: Analyzed

Junos OS: Improper Validation of Syntactic Correctness of Input

CVE-2024-39542 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 21.2R3-S4, 21.4R2, 22.2R2-S1, 22.2R3 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.47% 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 21.2R3-S4 or 21.4R2 or 22.2R2-S1, 22.2R3 or 21.2r3-s4, whichever matches your release line, or a later version.
  2. Update Junos OS Evolved to 21.2R3-S8-EVO or 21.4R2-EVO or 21.2r3-s8-evo or 21.4r2-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 OSbefore 21.2R3-S4; 21.4 up to, but not including, 21.4R2; 22.2 up to, but not including, 22.2R2-S1, 22.2R3; before 21.2r3-s4; 21.4 up to, but not including, 21.4r2; 22.2 up to, but not including, 22.2r2-s1; 22.2 up to, but not including, 22.2r321.2R3-S4, 21.4R2, 22.2R2-S1, 22.2R3, 21.2r3-s4, 21.4r2, 22.2r2-s1
Juniper NetworksJunos OS Evolvedbefore 21.2R3-S8-EVO; 21.4 up to, but not including, 21.4R2-EVO; before 21.2r3-s8-evo; 21.4 up to, but not including, 21.4r2-evo21.2R3-S8-EVO, 21.4R2-EVO, 21.2r3-s8-evo, 21.4r2-evo
Juniper NetworksJunos21.4; 22.2Not 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 Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on MX Series with MPC10/11 or LC9600, MX304, and Junos OS Evolved on ACX Series and PTX Series allows an unauthenticated, network based attacker to cause a Denial-of-Service (DoS). This issue can occur in two scenarios: 1. If a device, which is configured with SFLOW and ECMP, receives specific valid transit traffic, which is subject to sampling, the packetio process crashes, which in turn leads to an evo-aftman crash and causes the FPC to stop working until it is restarted. (This scenario is only applicable to PTX but not to ACX or MX.) 2. If a device receives a malformed CFM packet on an interface configured with CFM, the packetio process crashes, which in turn leads to an evo-aftman crash and causes the FPC to stop working until it is restarted. Please note that the CVSS score is for the formally more severe issue 1. The CVSS score for scenario 2. is: 6.5 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) This issue affects Junos OS: * All versions before 21.2R3-S4, * 21.4 versions before 21.4R2, * 22.2 versions before 22.2R3-S2; Junos OS Evolved: * All versions before 21.2R3-S8-EVO, * 21.4 versions before 21.4R2-EVO.

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.