CVE-2022-22208: juniper networks junos os Use After Free
Vulnerability summary
CVE-2022-22208 is a medium (CVSS 5.9) Use After Free vulnerability in juniper networks junos os. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 42.2% of scored vulnerabilities.
Timeline
- 18-10-2022PublishedVulnerability first disclosed.
- 12-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.51%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
+0.05 pp
From 0.46% on 22-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
- CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected systems
Juniper2 products
- junos< 18.4 | 18.4 | 18.4:r1 | 18.4:r1-s1 | 18.4:r1-s2 | 18.4:r1-s3 | 18.4:r1-s4 | 18.4:r1-s5 | 18.4:r1-s6 | 18.4:r1-s7 | 18.4:r2 | 18.4:r2-s1 | 18.4:r2-s10 | 18.4:r2-s2 | 18.4:r2-s3 | 18.4:r2-s4 | 18.4:r2-s5 | 18.4:r2-s6 | 18.4:r2-s7 | 18.4:r2-s8 | 18.4:r3-s11 | 19.1 | 19.1:r1 | 19.1:r1-s1 | 19.1:r1-s2 | 19.1:r1-s3 | 19.1:r1-s4 | 19.1:r1-s5 | 19.1:r1-s6 | 19.1:r2 | 19.1:r2-s1 | 19.1:r2-s2 | 19.1:r2-s3 | 19.1:r3 | 19.1:r3-s1 | 19.1:r3-s2 | 19.1:r3-s3 | 19.1:r3-s4 | 19.1:r3-s5 | 19.1:r3-s6 | 19.1:r3-s7 | 19.2 | 19.2:r1 | 19.3 | 19.3:r1 | 19.3:r1-s1 | 19.3:r2 | 19.3:r2-s1 | 19.3:r2-s2 | 19.3:r2-s3 | 19.3:r2-s4 | 19.3:r2-s5 | 19.3:r2-s6 | 19.3:r3 | 19.3:r3-s1 | 19.3:r3-s2 | 19.3:r3-s3 | 19.3:r3-s4 | 19.4 | 19.4:r1 | 19.4:r1-s1 | 19.4:r1-s2 | 19.4:r1-s3 | 19.4:r1-s4 | 19.4:r2 | 19.4:r2-s1 | 19.4:r2-s2 | 19.4:r2-s3 | 19.4:r2-s4 | 19.4:r2-s5 | 19.4:r3-s6 | 20.1 | 20.1:r1 | 20.2 | 20.2:r1 | 20.2:r1-s1 | 20.2:r1-s2 | 20.2:r1-s3 | 20.2:r2 | 20.2:r2-s1 | 20.2:r2-s2 | 20.2:r2-s3 | 20.2:r3 | 20.2:r3-s1 | 20.2:r3-s2 | 20.3 | 20.3:r1 | 20.3:r1-s1 | 20.3:r1-s2 | 20.3:r2 | 20.3:r2-s1 | 20.3:r3 | 20.3:r3-s1 | 20.4 | 20.4:r1 | 20.4:r1-s1 | 20.4:r2 | 20.4:r2-s1 | 20.4:r2-s2 | 20.4:r3 | 21.1 | 21.1:r1 | 21.1:r1-s1 | 21.1:r2 | 21.1:r2-s1 | 21.1:r2-s2 | 21.1:r3 | 21.1:r3-s1 | 21.1:r3-s2 | 21.2 | 21.2:r1 | 21.2:r1-s1 | 21.2:r1-s2 | 21.2:r2 | 21.2:r3
- junos_os_evolved21.1 | 21.1:r1 | 21.1:r1-s1 | 21.1:r2 | 21.1:r3 | 21.1:r3-s1 | 21.2 | 21.2:r1 | 21.2:r1-s1 | 21.2:r1-s2 | 21.2:r2 | 21.2:r2-s1 | 21.2:r2-s2 | 21.3 | 21.3:r1 | 21.3:r1-s1
Juniper networks2 products
- junos os≥ unspecified, < 18.4R2-S9, 18.4R3-S11 | ≥ 19.1, < 19.1R3-S8 | ≥ 19.2R1, < 19.2* | ≥ 19.3, < 19.3R3-S5 | ≥ 19.4, < 19.4R2-S6, 19.4R3-S6 | ≥ 20.1R1, < 20.1* | ≥ 20.2, < 20.2R3-S3 | ≥ 20.3, < 20.3R3-S2 | ≥ 20.4, < 20.4R3-S1 | ≥ 21.1, < 21.1R3-S3 | ≥ 21.2, < 21.2R2-S1, 21.2R3
- junos os evolved≥ unspecified, < 20.4R3-S4-EVO | ≥ 21.1-EVO, < 21.1R3-S2-EVO | ≥ 21.2-EVO, < 21.2R3-EVO | ≥ 21.3-EVO, < 21.3R2-EVO
2 vendors · 4 products
References
1 links- kb.juniper.net/JSA69879Vendor Advisory