CVE-2023-22396
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 Uncontrolled Resource Consumption vulnerability in TCP processing on the Routing Engine (RE) of Juniper Networks Junos OS allows an unauthenticated network-based attacker to send crafted TCP packets destined to the device, resulting in an MBUF leak that ultimately leads to a Denial of Service (DoS). The system does not recover automatically and must be manually restarted to restore service. This issue occurs when crafted TCP packets are sent directly to a configured IPv4 or IPv6 interface on the device. Transit traffic will not trigger this issue. MBUF usage can be monitored through the use of the 'show system buffers' command. For example: user@junos> show system buffers | refresh 5 4054/566/4620 mbufs in use (current/cache/total) ... 4089/531/4620 mbufs in use (current/cache/total) ... 4151/589/4740 mbufs in use (current/cache/total) ... 4213/527/4740 mbufs in use (current/cache/total) This issue affects Juniper Networks Junos OS: 12.3 version 12.3R12-S19 and later versions; 15.1 version 15.1R7-S10 and later versions; 17.3 version 17.3R3-S12 and later versions; 18.4 version 18.4R3-S9 and later versions; 19.1 version 19.1R3-S7 and later versions; 19.2 version 19.2R3-S3 and later versions; 19.3 version 19.3R2-S7, 19.3R3-S3 and later versions prior to 19.3R3-S7; 19.4 version 19.4R2-S7, 19.4R3-S5 and later versions prior to 19.4R3-S10; 20.1 version 20.1R3-S1 and later versions; 20.2 version 20.2R3-S2 and later versions prior to 20.2R3-S6; 20.3 version 20.3R3-S1 and later versions prior to 20.3R3-S6; 20.4 version 20.4R2-S2, 20.4R3 and later versions prior to 20.4R3-S5; 21.1 version 21.1R2 and later versions prior to 21.1R3-S4; 21.2 version 21.2R1-S1, 21.2R2 and later versions prior to 21.2R3-S3; 21.3 versions prior to 21.3R3-S2; 21.4 versions prior to 21.4R3; 22.1 versions prior to 22.1R2-S1, 22.1R3; 22.2 versions prior to 22.2R1-S2, 22.2R2; 22.3 versions prior to 22.3R1-S1, 22.3R2.
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 confidenceAn unauthenticated attacker can send specially crafted TCP packets directly to a configured IPv4/IPv6 interface on Juniper Networks Junos OS devices, causing an MBUF (memory buffer) leak in the Routing Engine. This leak exhausts system resources and results in a Denial of Service condition that requires manual device restart to recover. Transit traffic does not trigger this vulnerability - packets must be destined directly to the device.
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= 12.3= 15.1= 17.3= 18.4= 19.1= 19.2= 19.3= 19.4= 20.1= 20.2= 20.3= 20.4CVSS 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
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/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 the Junos OS versionRun 'show version' or 'show version detail' to obtain the installed Junos OS versionAffected if The version matches one of the affected releases: 12.3, 15.1, 17.3, 18.4, 19.1, 19.2, 19.3, 19.4, 20.1, 20.2, 20.3, or 20.4
-
Confirm direct IP interface availabilityRun 'show interfaces terse' or 'show ip interface brief' to list directly configured IPv4/IPv6 addresses on device interfacesAffected if Any interface has a direct IPv4 or IPv6 address assigned (excluding loopback) that is reachable from untrusted networks
-
Check current MBUF usageRun 'show system buffers' to display current memory buffer utilizationAffected if The MBUF usage shows abnormally high consumption or approaching exhaustion limits, indicating a potential active leak
-
Review interface management accessRun 'show configuration system services' and 'show configuration interfaces' to identify enabled management protocols and interface configurationsAffected if Management services such as telnet, SSH, or other IP-based services are enabled on directly accessible interfaces
The device is affected if it runs an affected Junos OS version AND has directly reachable IPv4/IPv6 interfaces, regardless of current MBUF state, since exploitation requires only network access to those interfaces.
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 appropriate Junos OS software upgrade to a fixed version as listed in the Juniper advisory. During patching, monitor MBUF usage via 'show system buffers' and ensure a maintenance window with console access for potential recovery. Network-based ACLs can be deployed as a temporary mitigation to limit direct access to device management interfaces.
Upgrade to the earliest fixed version for your release train (e.g., 12.3R12-S19, 15.1R7-S10, 17.3R3-S12, 18.4R3-S9) or migrate to a stable release branch like 19.4R3-S10, 20.4R3-S5, 21.4R3, or 22.3R2
- Identify the currently installed Junos OS version using 'show version'
- Consult the Junos upgrade matrix to determine the recommended upgrade path for your hardware platform
- Plan maintenance window as the device will require a reboot
- Back up current configuration using 'request system configuration rescue save'
- Upgrade to a fixed version: for 12.3 go to 12.3R12-S19 or later; for 15.1 go to 15.1R7-S10 or later; for 17.3 go to 17.3R3-S12 or later; for 18.4 go to 18.4R3-S9 or later
- Alternatively, upgrade to 19.4R3-S10 or later, 20.4R3-S5 or later, 21.4R3 or later, 22.1R2-S1 or later, 22.2R1-S2 or later, or 22.3R1-S1 or later for broader fixes
- After upgrade, verify MBUF consumption stabilizes using 'show system buffers'
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing2.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,880.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-22396 — 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-22396 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