CVE-2022-22174

Junos OS: QFX5000 Series, EX4600: Device may run out of memory, causing traffic loss, upon receipt of specific IPv6 packets

7.5 high EPSS 0.96%

Published 19 Jan 2022 Updated 16 Sep 2024 CNA: juniper

Description

A vulnerability in the processing of inbound IPv6 packets in Juniper Networks Junos OS on QFX5000 Series and EX4600 switches may cause the memory to not be freed, leading to a packet DMA memory leak, and eventual Denial of Service (DoS) condition. Once the condition occurs, further packet processing will be impacted, creating a sustained Denial of Service (DoS) condition. The following error logs may be observed using the "show heap" command and the device may eventually run out of memory if such packets are received continuously. Jan 12 12:00:00 device-name fpc0 (buf alloc) failed allocating packet buffer Jan 12 12:00:01 device-name fpc0 (buf alloc) failed allocating packet buffer user@device-name> request pfe execute target fpc0 timeout 30 command "show heap" ID Base Total(b) Free(b) Used(b) % Name -- ---------- ----------- ----------- ----------- --- ----------- 0 246fc1a8 536870488 353653752 183216736 34 Kernel 1 91800000 16777216 12069680 4707536 28 DMA 2 92800000 75497472 69997640 5499832 7 PKT DMA DESC 3 106fc000 335544320 221425960 114118360 34 Bcm_sdk 4 97000000 176160768 200 176160568 99 Packet DMA <<<<<<<<<<<<<< 5 903fffe0 20971504 20971504 0 0 Blob This issue affects Juniper Networks Junos OS on QFX5000 Series, EX4600: 18.3R3 versions prior to 18.3R3-S6; 18.4 versions prior to 18.4R2-S9, 18.4R3-S9; 19.1 versions prior to 19.1R2-S3, 19.1R3-S7; 19.2 versions prior to 19.2R1-S8, 19.2R3-S3; 19.3 versions prior to 19.3R2-S7, 19.3R3-S4; 19.4 versions prior to 19.4R2-S5, 19.4R3-S6; 20.1 versions prior to 20.1R3-S1; 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-S1, 21.1R3; 21.2 versions prior to 21.2R1-S1, 21.2R2. This issue does not affect Juniper Networks Junos OS: Any versions prior to 17.4R3; 18.1 versions prior to 18.1R3-S6; 18.2 versions prior to 18.2R3; 18.3 versions prior to 18.3R3; 18.4 versions prior to 18.4R2; 19.1 versions prior to 19.1R2.

Severity (CVSS)

7.5 high CVSS 3.1 from juniper (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.96%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 62.5% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-401 Missing Release of Memory after Effective Lifetime
  • CWE-755 Improper Handling of Exceptional Conditions

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected from 18.3, before 18.3R3-S6
affected from 18.4, before 18.4R2-S9, 18.4R3-S9
affected from 19.1, before 19.1R2-S3, 19.1R3-S7
affected from 19.2, before 19.2R1-S8, 19.2R3-S3
affected from 19.3, before 19.3R2-S7, 19.3R3-S4
affected from 19.4, before 19.4R2-S5, 19.4R3-S6
affected from 20.1, before 20.1R3-S1
affected from 20.2, before 20.2R3-S2
affected from 20.3, before 20.3R3-S1
affected from 20.4, before 20.4R3
affected from 21.1, before 21.1R2-S1, 21.1R3
affected from 21.2, before 21.2R1-S1, 21.2R2
Junos OS
unaffected before 17.4R3
unaffected from 18.1, before 18.1R3-S6
unaffected from 18.2, before 18.2R3
unaffected from 18.3, before 18.3R3
unaffected from 18.4, before 18.4R2
unaffected from 19.1, before 19.1R2

Is my server affected?

This CVE is in Junos OS of Juniper Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Source: the record CVE-2022-22174 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.