CVE-2022-22172

Junos OS and Junos OS Evolved: An l2cpd memory leak can occur when specific LLDP packets are received leading to a DoS

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.38%
Percentile 34.21%
CISA KEV
Not listed
Published
January 19, 2022
Updated September 16, 2024

Description

A Missing Release of Memory after Effective Lifetime vulnerability in the Layer-2 control protocols daemon (l2cpd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated adjacent attacker to cause a memory leak. Continued exploitation can lead to memory exhaustion and thereby a Denial of Service (DoS). This issue occurs when specific LLDP packets are received. The impact of the l2cpd cores is that if any of the stp protocols (rstp, mstp or vstp) is used then stp re-converges and traffic loss will occur during that time. Also if any services depend on LLDP state (like PoE or VoIP device recognition) then these will also be affected. The memory utilization of the L2CPd process can be monitored with the following command: user@host> show system processes extensive | match l2cpd 1234 root 52 0 521M 43412K RUN 1 4:02 34.47% l2cpd This issue affects: Juniper Networks Junos OS 18.4 version 18.4R2-S4 and later versions prior to 18.4R2-S10. 19.2 versions prior to 19.2R1-S8, 19.2R3-S4; 19.3 versions prior to 19.3R3-S5; 19.4 versions prior to 19.4R3-S7; 20.1 versions prior to 20.1R3-S3; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3-S1; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2-S2, 21.1R3; 21.2 versions prior to 21.2R2; Juniper Networks Junos OS Evolved All versions prior to 20.4R3-S2-EVO; 21.1 version 21.1R1-EVO and later versions; 21.2 versions prior to 21.2R2-EVO. This issue does not affect: Juniper Networks Junos OS 19.1 version 19.1R1 and later versions.

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-401, Denial of Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 20.4R3-S2-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
20.4R3-S2-EVO
NOT_AFFECTED · EXACT
20.4R3-S2-EVO
AFFECTED · EXACT
21.1R1-EVO
AFFECTED · RANGE
21.2R2-EVO
NOT_AFFECTED · EXACT
21.2R2-EVO
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S2-EVO
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.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

NOT_AFFECTED · RANGE
18.4R2-S4
AFFECTED · EXACT
18.4R2-S4
NOT_AFFECTED · EXACT
19.1R1
UNKNOWN · UNKNOWN
{"lessThan": "19.2R1-S8, 19.2R3-S4", "status": "affected", "version": "19.2", "versionType": "custom"}
AFFECTED · RANGE
19.3R3-S5
NOT_AFFECTED · EXACT
19.3R3-S5
AFFECTED · RANGE
19.4R3-S7
NOT_AFFECTED · EXACT
19.4R3-S7
AFFECTED · RANGE
20.1R3-S3
NOT_AFFECTED · EXACT
20.1R3-S3
AFFECTED · RANGE
20.2R3-S2
NOT_AFFECTED · EXACT
20.2R3-S2
AFFECTED · RANGE
20.3R3-S1
NOT_AFFECTED · EXACT
20.3R3-S1
AFFECTED · RANGE
20.4R3
NOT_AFFECTED · EXACT
20.4R3
UNKNOWN · UNKNOWN
{"lessThan": "21.1R2-S2, 21.1R3", "status": "affected", "version": "21.1", "versionType": "custom"}
AFFECTED · RANGE
21.2R2
NOT_AFFECTED · EXACT
21.2R2
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 19.3
First fixed: 19.3R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.4
First fixed: 19.4R3-S7
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.1
First fixed: 20.1R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.2
First fixed: 20.2R3-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.3
First fixed: 20.3R3-S1
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS Evolved
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
unspecified → 20.4R3-S2-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
21.1R1-EVO → 21.1*
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
21.2 → 21.2R2-EVO
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]

Remediation

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

Applicability

AFFECTED · RANGE
20.1 → 20.1R3-S3
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
NOT_AFFECTED · RANGE
unspecified → 18.4R2-S4
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
18.4R2-S4 → 18.4*
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
NOT_AFFECTED · RANGE
19.1R1 → 19.1*
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
19.2 → 19.2R1-S8, 19.2R3-S4
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
19.3 → 19.3R3-S5
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
19.4 → 19.4R3-S7
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
20.2 → 20.2R3-S2
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
20.3 → 20.3R3-S1
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
20.4 → 20.4R3
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
21.1 → 21.1R2-S2, 21.1R3
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]
AFFECTED · RANGE
21.2 → 21.2R2
Required configuration: This vulnerability is only exploitable on interfaces with LLDP enabled. [ protocols lldp ]

Remediation

FIX_AVAILABLE
Release train: 18.4R2
First fixed: 18.4R2-S10
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.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.