CVE-2022-22176

Junos OS: In a scenario with dhcp-security and option-82 configured jdhcpd crashes upon receipt of a malformed DHCP packet

7.4 high EPSS 0.38%

Published 19 Jan 2022 Updated 16 Sep 2024 CNA: juniper

Description

An Improper Validation of Syntactic Correctness of Input vulnerability in the Juniper DHCP daemon (jdhcpd) of Juniper Networks Junos OS allows an adjacent unauthenticated attacker sending a malformed DHCP packet to cause a crash of jdhcpd and thereby a Denial of Service (DoS). If option-82 is configured in a DHCP snooping / -security scenario, jdhcpd crashes if a specific malformed DHCP request packet is received. The DHCP functionality is impacted while jdhcpd restarts, and continued exploitation of the vulnerability will lead to the unavailability of the DHCP service and thereby a sustained DoS. This issue affects Juniper Networks Junos OS 13.2 version 13.2R1 and later versions prior to 15.1R7-S11; 18.3 versions prior to 18.3R3-S6; 18.4 versions prior to 18.4R2-S9, 18.4R3-S10; 19.1 versions prior to 19.1R2-S3, 19.1R3-S7; 19.2 versions prior to 19.2R1-S8, 19.2R3-S4; 19.3 versions prior to 19.3R2-S7, 19.3R3-S4; 19.4 versions prior to 19.4R3-S6; 20.1 versions prior to 20.1R3-S3; 20.2 versions prior to 20.2R3-S3; 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 version 12.3R12 and prior versions.

Severity (CVSS)

7.4 high CVSS 3.1 from juniper (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Attack vector
adjacent: the attacker has to be on the same local network or link
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
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

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

Weakness

  • CWE-1286 Improper Validation of Syntactic Correctness of Input

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected before 15.1R7-S11
unaffected up to and including 12.3R12
affected from 13.2R1, before 13.2*
affected from 18.3, before 18.3R3-S6
affected from 18.4, before 18.4R2-S9, 18.4R3-S10
affected from 19.1, before 19.1R2-S3, 19.1R3-S7
affected from 19.2, before 19.2R1-S8, 19.2R3-S4
affected from 19.3, before 19.3R2-S7, 19.3R3-S4
affected from 19.4, before 19.4R3-S6
affected from 20.1, before 20.1R3-S3
affected from 20.2, before 20.2R3-S3
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

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-22176 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.