CVE-2022-22208

Junos OS and Junos OS Evolved: An rpd crash can occur due to memory corruption caused by flapping BGP sessions

5.9 medium EPSS 0.52%

Published 18 Oct 2022 Updated 12 May 2025 CNA: juniper

Description

A Use After Free vulnerability in the Routing Protocol Daemon (rdp) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker to cause Denial of Service (DoS). When a BGP session flap happens, a Use After Free of a memory location that was assigned to another object can occur, which will lead to an rpd crash. This is a race condition that is outside of the attacker's control and cannot be deterministically exploited. Continued flapping of BGP sessions can create a sustained Denial of Service (DoS) condition. This issue affects Juniper Networks Junos OS: All versions prior to 18.4R2-S9, 18.4R3-S11; 19.1 versions prior to 19.1R3-S8; 19.2 version 19.2R1 and later versions; 19.3 versions prior to 19.3R3-S5; 19.4 versions prior to 19.4R2-S6, 19.4R3-S6; 20.1 version 20.1R1 and later versions; 20.2 versions prior to 20.2R3-S3; 20.3 versions prior to 20.3R3-S2; 20.4 versions prior to 20.4R3-S1; 21.1 versions prior to 21.1R3-S3; 21.2 versions prior to 21.2R2-S1, 21.2R3. Juniper Networks Junos OS Evolved All versions prior to 20.4R3-S4-EVO; 21.1-EVO versions prior to 21.1R3-S2-EVO; 21.2-EVO versions prior to 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO.

Severity (CVSS)

5.9 medium CVSS 3.1 from juniper (CNA)
CVSS:3.1/AV:N/AC:H/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
high: an attack depends on conditions outside the control of the attacker, such as a race
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.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 45.4% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 12 May 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected before 18.4R2-S9, 18.4R3-S11
affected from 19.1, before 19.1R3-S8
affected from 19.2R1, before 19.2*
affected from 19.3, before 19.3R3-S5
affected from 19.4, before 19.4R2-S6, 19.4R3-S6
affected from 20.1R1, before 20.1*
affected from 20.2, before 20.2R3-S3
affected from 20.3, before 20.3R3-S2
affected from 20.4, before 20.4R3-S1
affected from 21.1, before 21.1R3-S3
affected from 21.2, before 21.2R2-S1, 21.2R3
Junos OS Evolved
affected before 20.4R3-S4-EVO
affected from 21.1-EVO, before 21.1R3-S2-EVO
affected from 21.2-EVO, before 21.2R3-EVO
affected from 21.3-EVO, before 21.3R2-EVO

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

Other references

Source: the record CVE-2022-22208 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; 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.