CVE-2021-31385
An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in J-Web of Juniper Networks Junos OS allows any low-privileged authenticated attacker to elevate their privileges to root. This issue affects: Juniper Networks Junos OS 12.3 versions prior to 12.3R12-S19; 15.1 versions prior to 15.1R7-S10; 18.3 versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R1-S7, 19.2R3-S3; 19.3 versions prior to 19.3R3-S3; 19.4 versions prior to 19.4R3-S5; 20.1 versions prior to 20.1R2-S2, 20.1R3-S1; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R2-S1, 20.4R3; 21.1 versions prior to 21.1R1-S1, 21.1R2.
Key facts
- CVSS score
- 8.8 (v3.1)
- Severity
- HIGH
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
- CWE-22
- EPSS score
- 1.5% (74th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2021-18295)
- Published
- October 19, 2021
- NVD last modified
- June 17, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2021-18295 in the EU Vulnerability Database. Last updated in EUVD on September 16, 2024.
View on the EU Vulnerability DatabaseAffected products
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
- juniper / junos
and 161 more…
Certified products that may be affected
1 FIPS 140 or Common Criteria certified product, from automated matching by sec-certs.org.
- Junos Space Network Management Platform, with or without Network Director and with or without Security Director in JA2500 - Juniper Networks, Inc. - FIPS 140 3816 - historical
References
- https://kb.juniper.net/JSA11253(Vendor Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain