title: Junos OS: Receipt of crafted TCP packets destined to the device results in MBUF leak leading to a Denial of Service (DoS)
description: An 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.
problem types: CWE-400 Uncontrolled Resource Consumption
affected:
{
vendor: Juniper Networks
product: Junos OS
versions:
version: 12.3R12-S19, status: affected, lessThan: 12.3*, versionType: custom
version: 15.1R7-S10, status: affected, lessThan: 15.1*, versionType: custom
version: 17.3R3-S12, status: affected, lessThan: 17.3*, versionType: custom
version: 18.4R3-S9, status: affected, lessThan: 18.4*, versionType: custom
version: 19.1R3-S7, status: affected, lessThan: 19.1*, versionType: custom
version: 19.2R3-S3, status: affected, lessThan: 19.2*, versionType: custom
version: 19.3R2-S7, 19.3R3-S3, status: affected, lessThan: 19.3*, versionType: custom, changes: [at: 19.3R3-S7, status: unaffected]
version: 19.4R2-S7, 19.4R3-S5, status: affected, lessThan: 19.4*, versionType: custom, changes: [at: 19.4R3-S10, status: unaffected]
version: 20.1R3-S1, status: affected, lessThan: 20.1*, versionType: custom
version: 20.2R3-S2, status: affected, lessThan: 20.2*, versionType: custom, changes: [at: 20.2R3-S6, status: unaffected]
version: 20.3R3-S1, status: affected, lessThan: 20.3*, versionType: custom, changes: [at: 20.3R3-S6, status: unaffected]
version: 20.4R2-S2, 20.4R3, status: affected, lessThan: 20.4*, versionType: custom, changes: [at: 20.4R3-S5, status: unaffected]
version: 21.1R2, status: affected, lessThan: 21.1*, versionType: custom, changes: [at: 21.1R3-S4, status: unaffected]
version: 21.2R1-S1, 21.2R2, status: affected, lessThan: 21.2*, versionType: custom, changes: [at: 21.2R3-S3, status: unaffected]
version: 21.3, status: affected, lessThan: 21.3R3-S2, versionType: custom
version: 21.4, status: affected, lessThan: 21.4R3, versionType: custom
version: 22.1, status: affected, lessThan: 22.1R2-S1, 22.1R3, versionType: custom
version: 22.2, status: affected, lessThan: 22.2R1-S2, 22.2R2, versionType: custom
version: 22.3, status: affected, lessThan: 22.3R1-S1, 22.3R2, versionType: custom
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
baseScore: 7.5
baseSeverity: HIGH
]
exploits: Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
solutions: The following software releases have been updated to resolve this specific issue: 19.3R3-S7, 19.4R3-S10, 20.2R3-S6, 20.3R3-S6, 20.4R3-S5, 21.1R3-S4, 21.2R3-S3, 21.3R3-S2, 21.4R3, 22.1R2-S1, 22.1R3, 22.2R1-S2, 22.2R2, 22.2R3, 22.3R1-S1, 22.3R2, 22.4R1, and all subsequent releases.
workarounds: Limit the exploitable attack surface of critical infrastructure networking equipment. Use access lists or firewall filters to limit access to the device only from trusted, administrative networks or hosts.