Memory leak in Juniper Junos OS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-401.
Summary
An Improper Release of Memory Before Removing Last Reference vulnerability in the Session Initiation Protocol (SIP) Application Layer Gateway (ALG) of Juniper Networks Junos OS allows unauthenticated network-based attacker to cause a partial Denial of Service (DoS). On all MX and SRX platforms, if the SIP ALG is enabled, receipt of a specific SIP packet will create a stale SIP entry. Sustained receipt of such packets will cause the SIP call table to eventually fill up and cause a DoS for all SIP traffic. The SIP call usage can be monitored by "show security alg sip calls". To be affected the SIP ALG needs to be enabled, either implicitly / by default or by way of configuration. Please verify on SRX with: user@host> show security alg status | match sip SIP : Enabled Please verify on MX whether the following is configured: [ services ... rule <rule-name> (term <term-name>) from/match application/application-set <name> ] where either a. name = junos-sip or an application or application-set refers to SIP: b. [ applications application <name> application-protocol sip ] or c. [ applications application-set <name> application junos-sip ] This issue affects Juniper Networks Junos OS on SRX Series and MX Series: 20.4 versions prior to 20.4R3-S2; 21.1 versions prior to 21.1R3-S2; 21.2 versions prior to 21.2R2-S2; 21.2 versions prior to 21.2R3; 21.3 versions prior to 21.3R2; 21.4 versions prior to 21.4R2. This issue does not affect Juniper Networks Junos OS versions prior to 20.4R1. Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Juniper | Junos OS | 20.4 to before 20.4R3-S2; 21.1 to before 21.1R3-S2; 21.2 to before 21.2R2-S2; 21.3 to before 21.3R2; 21.4 to before 21.4R2 | 20.4R3-S2, 21.1R3-S2, 21.2R2-S2, 21.3R2, 21.4R2 | Patch available | CNA |
- Junos OS VendorJuniper Affected 20.4 to before 20.4R3-S2; 21.1 to before 21.1R3-S2; 21.2 to before 21.2R2-S2; 21.3 to before 21.3R2; 21.4 to before 21.4R2 Fixed in 20.4R3-S2, 21.1R3-S2, 21.2R2-S2, 21.3R2, 21.4R2 Patch available CNA
CPE configurations NVD · 72
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:juniper:junos:20.4:-:*:*:*:*:*:* | 20.4 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:20.4:r1:*:*:*:*:*:* | 20.4 r1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:20.4:r1-s1:*:*:*:*:*:* | 20.4 r1-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:20.4:r2:*:*:*:*:*:* | 20.4 r2 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:20.4:r2-s1:*:*:*:*:*:* | 20.4 r2-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:20.4:r2-s2:*:*:*:*:*:* | 20.4 r2-s2 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:20.4:r3:*:*:*:*:*:* | 20.4 r3 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:20.4:r3-s1:*:*:*:*:*:* | 20.4 r3-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.1:-:*:*:*:*:*:* | 21.1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.1:r1:*:*:*:*:*:* | 21.1 r1 | Vulnerable | Juniper |
- cpe:2.3:o:juniper:junos:20.4:-:*:*:*:*:*:* Versions 20.4 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:20.4:r1:*:*:*:*:*:* Versions 20.4 r1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:20.4:r1-s1:*:*:*:*:*:* Versions 20.4 r1-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:20.4:r2:*:*:*:*:*:* Versions 20.4 r2 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:20.4:r2-s1:*:*:*:*:*:* Versions 20.4 r2-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:20.4:r2-s2:*:*:*:*:*:* Versions 20.4 r2-s2 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:20.4:r3:*:*:*:*:*:* Versions 20.4 r3 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:20.4:r3-s1:*:*:*:*:*:* Versions 20.4 r3-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.1:-:*:*:*:*:*:* Versions 21.1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.1:r1:*:*:*:*:*:* Versions 21.1 r1 Vulnerable ·Juniper
Show 62 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:juniper:junos:21.1:r1-s1:*:*:*:*:*:* | 21.1 r1-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.1:r2:*:*:*:*:*:* | 21.1 r2 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.1:r2-s1:*:*:*:*:*:* | 21.1 r2-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.1:r2-s2:*:*:*:*:*:* | 21.1 r2-s2 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.1:r3:*:*:*:*:*:* | 21.1 r3 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.1:r3-s1:*:*:*:*:*:* | 21.1 r3-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:* | 21.2 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:* | 21.2 r1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:* | 21.2 r1-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:* | 21.2 r1-s2 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:* | 21.2 r2 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:* | 21.2 r2-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.3:r1:*:*:*:*:*:* | 21.3 r1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.3:r1-s1:*:*:*:*:*:* | 21.3 r1-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.3:r1-s2:*:*:*:*:*:* | 21.3 r1-s2 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.4:r1:*:*:*:*:*:* | 21.4 r1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.4:r1-s1:*:*:*:*:*:* | 21.4 r1-s1 | Vulnerable | Juniper |
| cpe:2.3:o:juniper:junos:21.4:r1-s2:*:*:*:*:*:* | 21.4 r1-s2 | Vulnerable | Juniper |
| cpe:2.3:h:juniper:mx10:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx10000:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx10003:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx10008:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx10016:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx104:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx150:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx2008:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx2010:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx2020:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx204:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx240:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx40:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx480:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx5:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx80:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:mx960:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx100:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx110:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx1400:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx1500:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx210:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx220:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx240:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx240h2:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx300:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx320:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx340:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx3400:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx345:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx3600:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx380:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx4000:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx4100:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx4200:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx4600:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx5000:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx5400:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx550:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx550_hm:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx550m:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx5600:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx5800:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
| cpe:2.3:h:juniper:srx650:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Juniper |
- cpe:2.3:o:juniper:junos:21.1:r1-s1:*:*:*:*:*:* Versions 21.1 r1-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.1:r2:*:*:*:*:*:* Versions 21.1 r2 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.1:r2-s1:*:*:*:*:*:* Versions 21.1 r2-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.1:r2-s2:*:*:*:*:*:* Versions 21.1 r2-s2 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.1:r3:*:*:*:*:*:* Versions 21.1 r3 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.1:r3-s1:*:*:*:*:*:* Versions 21.1 r3-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:* Versions 21.2 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:* Versions 21.2 r1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:* Versions 21.2 r1-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:* Versions 21.2 r1-s2 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:* Versions 21.2 r2 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:* Versions 21.2 r2-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.3:r1:*:*:*:*:*:* Versions 21.3 r1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.3:r1-s1:*:*:*:*:*:* Versions 21.3 r1-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.3:r1-s2:*:*:*:*:*:* Versions 21.3 r1-s2 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.4:r1:*:*:*:*:*:* Versions 21.4 r1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.4:r1-s1:*:*:*:*:*:* Versions 21.4 r1-s1 Vulnerable ·Juniper
- cpe:2.3:o:juniper:junos:21.4:r1-s2:*:*:*:*:*:* Versions 21.4 r1-s2 Vulnerable ·Juniper
- cpe:2.3:h:juniper:mx10:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx10000:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx10003:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx10008:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx10016:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx104:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx150:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx2008:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx2010:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx2020:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx204:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx240:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx40:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx480:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx5:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx80:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:mx960:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx100:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx110:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx1400:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx1500:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx210:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx220:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx240:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx240h2:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx300:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx320:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx340:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx3400:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx345:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx3600:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx380:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx4000:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx4100:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx4200:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx4600:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx5000:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx5400:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx550:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx550_hm:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx550m:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx5600:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx5800:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
- cpe:2.3:h:juniper:srx650:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Juniper
Remediation
- Fix · CNA Junos OS (Juniper Networks) Fixed in 20.4R3-S2, 21.1R3-S2, 21.2R2-S2, 21.3R2, 21.4R2
Timeline
- 2026-10-02 Threatist record created from CVE-2022-22204
- 2026-10-03 Alias added: GHSA-gmwx-qv5p-38rc
References
Advisory 1
More Juniper Junos vulnerabilities
- TI-2023-18638 Junos OS: EX and SRX Series: A PHP vulnerability in J-Web allows an unauthenticated to… KEVCVSS 3.1CRITICAL 9.8
- TI-2020-01585 Out of Cycle Security Advisory: Junos OS: Security vulnerability in J-Web and web based (HTTP/HTTPS) services KEVCVSS 3.1CRITICAL 9.8
- TI-2015-04610 Assertion failure in ISC BIND named via TKEY queries KEVCVSS 3.1HIGH 7.5
- TI-2025-15550 Junos OS: An local attacker with shell access can execute arbitrary code KEVCVSS 4.0MEDIUM 6.7
- TI-2023-18644 Junos OS: SRX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload and download arbitrary files KEVCVSS 3.1MEDIUM 5.3
- TI-2023-18640 Junos OS: EX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload arbitrary files KEVCVSS 3.1MEDIUM 5.3
Sources
- CVE-2022-22204 · CVE Program
- CVE-2022-22204 · NVD
- FIRST EPSS
- GHSA-gmwx-qv5p-38rc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences