CVE-2023-36849
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn Improper Check or Handling of Exceptional Conditions 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 Denial of Service (DoS). When a malformed LLDP packet is received, l2cpd will crash and restart. 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. Continued receipt of such packets will lead to a sustained Denial of Service. This issue affects: Juniper Networks Junos OS 21.4 versions prior to 21.4R3-S3; 22.1 versions prior to 22.1R3-S3; 22.2 versions prior to 22.2R2-S1, 22.2R3; 22.3 versions prior to 22.3R2. Juniper Networks Junos OS Evolved 21.4-EVO versions prior to 21.4R3-S2-EVO; 22.1-EVO versions prior to 22.1R3-S3-EVO; 22.2-EVO versions prior to 22.2R2-S1-EVO, 22.2R3-EVO; 22.3-EVO versions prior to 22.3R2-EVO.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe l2cpd (Layer-2 control protocols daemon) in Juniper Junos OS and Junos OS Evolved fails to properly handle malformed LLDP packets, causing an unhandled exception that crashes the daemon. When l2cpd restarts, it reinitializes STP protocols (RSTP, MSTP, VSTP), MVRP, ERP, and disrupts LLDP-dependent services like PoE and VoIP. An unauthenticated adjacent attacker on the same network segment can send malformed LLDP packets to trigger repeated crashes, creating a sustained DoS condition.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 21.4= 22.1= 22.2= 22.3= 21.4= 22.1= 22.2= 22.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Adjacent
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Junos OS versionRun `show version` or `show version detail` to identify the installed Junos versionAffected if The version listed is 21.4, 22.1, 22.2, or 22.3 (any build)
-
Verify l2cpd daemon is runningRun `show l2cpd status` or `show system processes | match l2cpd` to confirm the l2cpd daemon is activeAffected if The l2cpd process is running or attempting to run on the device
-
Confirm LLDP is enabledRun `show lldp interface` or `show lldp neighbors` to check if LLDP is configured on any interfaceAffected if LLDP is enabled on one or more interfaces (this is the vulnerable attack surface)
-
Check for l2cpd crash logsReview system logs with `show log messages | match l2cpd` or `show system core-dumps` for recent l2cpd restarts or crash indicationsAffected if Recent l2cpd restarts, exceptions, or core dumps are present in logs
-
Verify affected L2 services are disruptedRun `show protocols mstp`, `show protocols rstp`, `show protocols vstp`, `show protocols mvrp`, or `show protocols erp` to check for protocol state changes or instabilityAffected if Any of these Layer-2 protocols show unexpected state changes or are not converging properly since a potential crash event
You are affected if you are running Junos version 21.4, 22.1, 22.2, or 22.3 with LLDP enabled on any interface, and l2cpd is the active daemon managing your Layer-2 protocols.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply the vendor-supplied software updates: upgrade to Junos OS 21.4R3-S3, 22.1R3-S3, 22.2R2-S1/22.2R3, 22.3R2 or later (or respective EVO versions). If immediate patching is not feasible, consider network segmentation to limit adjacent attacker access to LLDP-enabled interfaces.
Junos OS: 21.4R3-S3, 22.1R3-S3, 22.2R3 or 22.2R2-S1, 22.3R2 | Junos OS Evolved: 21.4R3-S2-EVO, 22.1R3-S3-EVO, 22.2R3-EVO or 22.2R2-S1-EVO, 22.3R2-EVO
- 1. Identify the current Junos OS or Junos OS Evolved version running on the device using 'show version' command
- 2. Determine the appropriate upgrade path based on current version (21.4 -> 21.4R3-S3, 22.1 -> 22.1R3-S3, 22.2 -> 22.2R3 or 22.2R2-S1, 22.3 -> 22.3R2)
- 3. Download the appropriate fixed Junos OS or Junos OS Evolved software image from the Juniper Networks support portal
- 4. Upload the software image to the device using 'request system software add' command
- 5. Reboot the device using 'request system reboot' command to apply the new software
- 6. After reboot, verify the new version is running with 'show version' and confirm l2cpd stability with 'show system processes extensive | match l2cpd'
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-36849 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-36849 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data