CVE-2021-31386

Junos OS: When using J-Web with HTTP an attacker may retrieve encryption keys via Person-in-the-Middle attacks.

State
Published
Severity
5.3 Medium
Published
Oct 19, 2021
Updated
Sep 17, 2024
Reserved
Apr 15, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:Njuniper

Weaknesses

  • CWE-311 Missing Encryption of Sensitive Data
  • CWE-325 Missing Cryptographic Step
  • CWE-693 Protection Mechanism Failure
  • CWE-300 Channel Accessible by Non-Endpoint ('Man-in-the-Middle')

Affected Products

ProductVersions
Junos OSJuniper Networks
  • 12.3 to before 12.3R12-S20Affected
  • 15.1 to before 15.1R7-S11Affected
  • 18.3 to before 18.3R3-S6Affected
  • 18.4 to before 18.4R3-S10Affected
  • 19.1 to before 19.1R3-S7Affected
  • 19.2 to before 19.2R3-S4Affected
  • 19.3 to before 19.3R3-S4Affected
  • 19.4 to before 19.4R3-S6Affected
  • 20.1 to before 20.1R3-S2Affected
  • 20.2 to before 20.2R3-S3Affected
  • 20.3 to before 20.3R3-S1Affected
  • 20.4 to before 20.4R3Affected
  • 21.1 to before 21.1R3Affected
  • 21.2 to before 21.2R2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.