CVE-2023-22405
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 Preservation of Consistency Between Independent Representations of Shared State vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS allows an adjacent, unauthenticated attacker to cause a Denial of Service (DoS) to device due to out of resources. When a device is configured with "service-provider/SP style" switching, and mac-limiting is configured on an Aggregated Ethernet (ae) interface, and then a PFE is restarted or the device is rebooted, mac-limiting doesn't work anymore. Please note that the issue might not be apparent as traffic will continue to flow through the device although the mac table and respective logs will indicate that mac limit is reached. Functionality can be restored by removing and re-adding the MAC limit configuration. This issue affects Juniper Networks Junos OS on QFX5k Series, EX46xx Series: All versions prior to 20.2R3-S5; 20.3 versions prior to 20.3R3-S5; 20.4 versions prior to 20.4R3-S4; 21.1 versions prior to 21.1R3-S3; 21.2 versions prior to 21.2R3-S1; 21.3 versions prior to 21.3R3 on; 21.4 versions prior to 21.4R3 on; 22.1 versions prior to 22.1R2 on.
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 confidenceA vulnerability in Juniper Junos OS on QFX5k and EX46xx Series allows an adjacent attacker to cause DoS via resource exhaustion. When 'service-provider/SP style' switching with MAC-limiting is configured on an aggregated Ethernet interface, the PFE loses MAC-limiting functionality after restart or reboot - the MAC table shows the limit is reached but traffic continues flowing unrestricted due to inconsistent state between PFE and control plane representations.
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< 20.2= 20.2= 20.3= 20.4= 21.1= 21.2= 21.3= 21.4= 22.1CVSS 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.
-
Identify device modelRun 'show chassis hardware' or check the device model. This vulnerability affects only QFX5k Series and EX46xx Series switches.Affected if Device is not a QFX5k or EX46xx Series model, then it is NOT affected by this CVE.
-
Check Junos OS versionRun 'show version' and compare the installed Junos version against the affected list: versions < 20.2, 20.2, 20.3, 20.4, 21.1, 21.2, 21.3, 21.4, and 22.1.Affected if The installed Junos version matches any of these affected versions.
-
Verify service-provider switching style is configuredRun 'show configuration switch-options' and look for 'service-provider' or 'sp' style switching configuration.Affected if Service-provider or SP style switching is configured in the switch-options.
-
Check for MAC-limiting on aggregated Ethernet interfacesRun 'show configuration interfaces ae*' and look for 'mac-limit' configuration under the interface. Alternatively, run 'show ethernet-switching table mac-limit' to view current MAC limit settings.Affected if Aggregated Ethernet interfaces (ae*) have MAC-limiting configured.
-
Verify MAC limit behavior after restartAfter a PFE restart or reboot, run 'show ethernet-switching table' to check if the MAC limit shows as reached, then verify if traffic continues to flow unrestricted through the interface despite the limit being shown as reached.Affected if MAC table shows limit reached but traffic continues to pass through the interface, indicating the vulnerability is present.
A user is affected if they run a vulnerable Junos version on QFX5k or EX46xx hardware with service-provider switching style and MAC-limiting configured on aggregated Ethernet, and observe that after a restart the MAC limit appears reached but traffic still flows unrestricted.
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 · scoped20.2
Upgrade to fixed Junos OS versions (20.2R3-S5, 20.3R3-S5, 20.4R3-S4, 21.1R3-S3, 21.2R3-S1, 21.3R3, 21.4R3, 22.1R2 or later). As a workaround, remove and re-add MAC limit configuration after each PFE restart or reboot to restore functionality.
20.2R3-S5, 20.3R3-S5, 20.4R3-S4, 21.1R3-S3, 21.2R3-S1, 21.3R3, 21.4R3, or 22.1R2 (depending on current version branch)
- Identify the current Junos OS version running on the device using 'show version'
- Determine the appropriate fixed release based on the current version: 20.2R3-S5 or later for 20.2 train, 20.3R3-S5 or later for 20.3 train, 20.4R3-S4 or later for 20.4 train, or the equivalent fixed releases for 21.x and 22.x trains
- Download the appropriate upgrade package from the Juniper Networks support portal (kb.juniper.net)
- Upload the upgrade package to the device using 'file copy' or similar method
- Initiate the upgrade using 'request system software add <package-name>' command
- Reboot the device to apply the changes using 'request system reboot'
- After reboot, verify the new version is installed using 'show version'
- If applicable, re-apply the MAC limit configuration to ensure proper functionality
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,392.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-22405 — 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-22405 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