CVE-2021-31385
published high CVSS 3.1 · 8.8Junos OS: J-Web: A path traversal vulnerability allows an authenticated attacker to elevate their privileges to root
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Juniper Networks | — | Junos OS12.3 to < 12.3R12-S19 · Platforms: EX Series | Affected | Not stated | juniper |
| Juniper Networks | — | Junos OS15.1 to < 15.1R7-S10 · 18.3 to < 18.3R3-S5 · 18.4 to < 18.4R3-S9 · 19.1 to < 19.1R3-S6 · 19.2 to < 19.2R1-S7, 19.2R3-S3 · 19.3 to < 19.3R3-S3 · 19.4 to < 19.4R3-S5 · 20.1 to < 20.1R2-S2, 20.1R3-S1 · 20.2 to < 20.2R3-S2 · 20.3 to < 20.3R3 · 20.4 to < 20.4R2-S1, 20.4R3 · 21.1 to < 21.1R1-S1, 21.1R2 | Affected | Not stated | juniper |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- juniper · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Juniper Networks | Junos OS | 12.3 to < 12.3R12-S19 (affected · custom) | juniper · cna |
| Juniper Networks | Junos OS | 15.1 to < 15.1R7-S10 (affected · custom)18.3 to < 18.3R3-S5 (affected · custom)18.4 to < 18.4R3-S9 (affected · custom)19.1 to < 19.1R3-S6 (affected · custom)19.2 to < 19.2R1-S7, 19.2R3-S3 (affected · custom)19.3 to < 19.3R3-S3 (affected · custom)19.4 to < 19.4R3-S5 (affected · custom)20.1 to < 20.1R2-S2, 20.1R3-S1 (affected · custom)20.2 to < 20.2R3-S2 (affected · custom)20.3 to < 20.3R3 (affected · custom)20.4 to < 20.4R2-S1, 20.4R3 (affected · custom)21.1 to < 21.1R1-S1, 21.1R2 (affected · custom) | juniper · cna |
Weaknesses
1- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
1Provider assertions
2juniper · cna
Junos OS: J-Web: A path traversal vulnerability allows an authenticated attacker to elevate their privileges to root
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 15d89d7a25762295a889b3435b425c70705ce0936402665d4159be8f3e6e943f
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record