CVE-2021-31386
published medium CVSS 3.1 · 5.3Junos OS: When using J-Web with HTTP an attacker may retrieve encryption keys via Person-in-the-Middle attacks.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Juniper Networks | — | Junos OS12.3 to < 12.3R12-S20 · 15.1 to < 15.1R7-S11 · 18.3 to < 18.3R3-S6 · 18.4 to < 18.4R3-S10 · 19.1 to < 19.1R3-S7 · 19.2 to < 19.2R3-S4 · 19.3 to < 19.3R3-S4 · 19.4 to < 19.4R3-S6 · 20.1 to < 20.1R3-S2 · 20.2 to < 20.2R3-S3 · 20.3 to < 20.3R3-S1 · 20.4 to < 20.4R3 · 21.1 to < 21.1R3 · 21.2 to < 21.2R2 | Affected | Not stated | juniper |
Description
A Protection Mechanism Failure vulnerability in the J-Web HTTP service of Juniper Networks Junos OS allows a remote unauthenticated attacker to perform Person-in-the-Middle (PitM) attacks against the device. This issue affects: Juniper Networks Junos OS 12.3 versions prior to 12.3R12-S20; 15.1 versions prior to 15.1R7-S11; 18.3 versions prior to 18.3R3-S6; 18.4 versions prior to 18.4R3-S10; 19.1 versions prior to 19.1R3-S7; 19.2 versions prior to 19.2R3-S4; 19.3 versions prior to 19.3R3-S4; 19.4 versions prior to 19.4R3-S6; 20.1 versions prior to 20.1R3-S2; 20.2 versions prior to 20.2R3-S3; 20.3 versions prior to 20.3R3-S1; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R3; 21.2 versions prior to 21.2R2.
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
- 5.3 / 10
- Severity
- medium
- Provider
- juniper · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
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-S20 (affected · custom)15.1 to < 15.1R7-S11 (affected · custom)18.3 to < 18.3R3-S6 (affected · custom)18.4 to < 18.4R3-S10 (affected · custom)19.1 to < 19.1R3-S7 (affected · custom)19.2 to < 19.2R3-S4 (affected · custom)19.3 to < 19.3R3-S4 (affected · custom)19.4 to < 19.4R3-S6 (affected · custom)20.1 to < 20.1R3-S2 (affected · custom)20.2 to < 20.2R3-S3 (affected · custom)20.3 to < 20.3R3-S1 (affected · custom)20.4 to < 20.4R3 (affected · custom)21.1 to < 21.1R3 (affected · custom)21.2 to < 21.2R2 (affected · custom) | juniper · cna |
Weaknesses
4- CWE-311 CWE-311: Missing Encryption of Sensitive Data
- CWE-325 CWE-325: Missing Cryptographic Step
- CWE-693 CWE-693: Protection Mechanism Failure
- CWE-300 CWE-300 Channel Accessible by Non-Endpoint ('Man-in-the-Middle')
References
1Provider assertions
2juniper · cna
Junos OS: When using J-Web with HTTP an attacker may retrieve encryption keys via Person-in-the-Middle attacks.
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- eef36832444f248b7225f06e6e92f1e129489076d7bd1becd1261c16b5bcc2bc
- Ingested
- 23 Sep 2026, 07:54:21 UTC
- Source record
- Official CVE record