CVE-2021-31386
CVE-2021-31386 — Junos OS: When using J-Web with HTTP an attacker may retrieve encryption keys via Person-in-the-Middle attacks.
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.
Published Updated Sources: cvelistV5, juniper
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.3
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.3 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-311
- CWE-325
- CWE-693
- CWE-300
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1040Network Sniffing
- T1111Multi-Factor Authentication Interception
- T1005Data from Local System
References
1 on the record
- kb.juniper.net/JSA11254
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2013-2465 Oracle Java SE Unspecified VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2019-1003030 Jenkins Matrix Project Plugin Remote Code Execution VulnerabilityCVSS 9.9 · CISA KEV
- CVE-2025-40536 SolarWinds Web Help Desk Security Control Bypass VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-21513 MSHTML Framework Security Feature Bypass VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2026-21510 Windows Shell Security Feature Bypass VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2024-29988 Microsoft SmartScreen Prompt Security Feature Bypass VulnerabilityCVSS 8.8 · CISA KEV
Elsewhere on this site
- Juniper Networksevery CVE for this vendor
- CWE-311other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.