CVE-2024-21618

Junos OS and Junos OS Evolved: When LLDP is enabled and a malformed LLDP packet is received, l2cpd crashes

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.30%
Percentile 23.82%
CISA KEV
Not listed
Published
April 12, 2024
Updated August 1, 2024

Description

An Access of Memory Location After End of Buffer vulnerability in the Layer-2 Control Protocols Daemon (l2cpd) of Juniper Networks Junos OS and Junos OS Evolved allows an adjacent, unauthenticated attacker to cause Denial of Service (DoS). On all Junos OS and Junos OS Evolved platforms, when LLDP is enabled on a specific interface, and a malformed LLDP packet is received, l2cpd crashes and restarts. The impact of the l2cpd crash is reinitialization of STP protocols (RSTP, MSTP or VSTP), and MVRP and ERP. Also, if any services depend on LLDP state (like PoE or VoIP device recognition), then these will also be affected. This issue affects: Junos OS: * from 21.4 before 21.4R3-S4,  * from 22.1 before 22.1R3-S4,  * from 22.2 before 22.2R3-S2,  * from 22.3 before 22.3R2-S2, 22.3R3-S1,  * from 22.4 before 22.4R3,  * from 23.2 before 23.2R2. Junos OS Evolved: * 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-S2-EVO,  * from 22.3-EVO before 22.3R2-S2-EVO, 22.3R3-S1-EVO,  * from 22.4-EVO before 22.4R3-EVO,  * from 23.2-EVO before 23.2R2-EVO. This issue does not affect: * Junos OS versions prior to 21.4R1; * Junos OS Evolved versions prior to 21.4R1-EVO.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attack vector
A
attack complexity
L
privileges required
N
user interaction
N
scope
U
CWE
CWE-788, Denial of Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 21.4R3-S5-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.4R3-S5-EVO
NOT_AFFECTED · EXACT
21.4R3-S5-EVO
AFFECTED · RANGE
22.1R3-S4-EVO
NOT_AFFECTED · EXACT
22.1R3-S4-EVO
AFFECTED · RANGE
22.2R3-S2-EVO
NOT_AFFECTED · EXACT
22.2R3-S2-EVO
UNKNOWN · UNKNOWN
{"lessThan": "22.3R2-S2-EVO, 22.3R3-S1-EVO", "status": "affected", "version": "22.3-EVO", "versionType": "semver"}
AFFECTED · RANGE
22.4R3-EVO
NOT_AFFECTED · EXACT
22.4R3-EVO
AFFECTED · RANGE
23.2R2-EVO
NOT_AFFECTED · EXACT
23.2R2-EVO
NOT_AFFECTED · RANGE
21.4R1-EVO
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

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

Remediation

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

Applicability

AFFECTED · RANGE
22.4-EVO → 22.4R3-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
21.4-EVO → 21.4R3-S5-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
22.1-EVO → 22.1R3-S4-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
22.2-EVO → 22.2R3-S2-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
22.3-EVO → 22.3R2-S2-EVO, 22.3R3-S1-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
23.2-EVO → 23.2R2-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
NOT_AFFECTED · RANGE
21.4R1-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]

Remediation

UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.4 → 21.4R3-S4
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
22.1 → 22.1R3-S4
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
22.2 → 22.2R3-S2
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
22.3 → 22.3R2-S2, 22.3R3-S1
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
22.4 → 22.4R3
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
AFFECTED · RANGE
23.2 → 23.2R2
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]
NOT_AFFECTED · RANGE
21.4R1
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled.   [protocols lldp interface]

Remediation

UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.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.