CVE-2024-39542

Junos OS and Junos OS Evolved: A malformed CFM packet or specific transit traffic leads to FPC crash

AllVuln state: AFFECTED

HIGH
CVSS
7.5
3.1
EPSS
0.47%
Percentile 42.47%
CISA KEV
Not listed
Published
July 11, 2024
Updated August 2, 2024

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.

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
1286 Improper Validation of Syntactic Correctness of Input

What should I do?

Review the vendor remediation for fixed or recommended release 21.2R3-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.2R3-S8-EVO
NOT_AFFECTED · EXACT
21.2R3-S8-EVO
AFFECTED · RANGE
21.4R2-EVO
NOT_AFFECTED · EXACT
21.4R2-EVO
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S8-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.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.2R3-S4
NOT_AFFECTED · EXACT
21.2R3-S4
AFFECTED · RANGE
21.4R2
NOT_AFFECTED · EXACT
21.4R2
UNKNOWN · UNKNOWN
{"lessThan": "22.2R2-S1, 22.2R3", "status": "affected", "version": "22.2", "versionType": "semver"}
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.2R3-S8-EVO
Platform: PTX Series
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]
AFFECTED · RANGE
21.2R3-S8-EVO
Platform: ACX Series
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]
AFFECTED · RANGE
21.4 → 21.4R2-EVO
Platform: PTX Series
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]
AFFECTED · RANGE
21.4 → 21.4R2-EVO
Platform: ACX Series
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]

Remediation

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

Applicability

AFFECTED · RANGE
21.2R3-S4
Platform: MX Series with MPC10 MPC11 or LC9600
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]
AFFECTED · RANGE
21.2R3-S4
Platform: MX304
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]
AFFECTED · RANGE
21.4 → 21.4R2
Platform: MX Series with MPC10 MPC11 or LC9600
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]
AFFECTED · RANGE
21.4 → 21.4R2
Platform: MX304
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]
AFFECTED · RANGE
22.2 → 22.2R2-S1, 22.2R3
Platform: MX Series with MPC10 MPC11 or LC9600
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]
AFFECTED · RANGE
22.2 → 22.2R2-S1, 22.2R3
Platform: MX304
Required configuration: To be exposed to this issue at least one of CFM or sampling needs to be configured: 1. CFM:   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> maintenance-association <ma_name> mep <number> interface <interface> ] OR   [  protocols oam ethernet connectivity-fault-management maintenance-domain <md_name> interface <interface> / vlan <vlan> ] 2. ECMP, sampling   [ protocols sflow interfaces <interface> ]

Remediation

UNKNOWN
Release train: 21.2R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
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.