CVE-2021-0268

Junos OS: J-Web has an Improper Neutralization of CRLF Sequences in its HTTP Headers which allows an attacker to carry out multiple types of attacks.

8.8 high EPSS 0.88%

Published 22 Apr 2021 Updated 17 Sep 2024 CNA: juniper

Description

An Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting') weakness in J-web of Juniper Networks Junos OS leads to buffer overflows, segment faults, or other impacts, which allows an attacker to modify the integrity of the device and exfiltration information from the device without authentication. The weakness can be exploited to facilitate cross-site scripting (XSS), cookie manipulation (modifying session cookies, stealing cookies) and more. This weakness can also be exploited by directing a user to a seemingly legitimate link from the affected site. The attacker requires no special access or permissions to the device to carry out such attacks. This issue affects: Juniper Networks Junos OS: 18.1 versions prior to 18.1R3-S11; 18.2 versions prior to 18.2R3-S5; 18.3 versions prior to 18.3R2-S4, 18.3R3-S3; 18.4 versions prior to 18.4R2-S5, 18.4R3-S3; 19.1 versions prior to 19.1R2-S2, 19.1R3-S2; 19.2 versions prior to 19.2R1-S5, 19.2R2; 19.3 versions prior to 19.3R3; 19.4 versions prior to 19.4R1-S3, 19.4R2, 19.4R3; 20.1 versions prior to 20.1R1-S2, 20.1R2. This issue does not affect Juniper Networks Junos OS versions prior to 18.1R1.

Severity (CVSS)

8.8 high CVSS 3.1 from juniper (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.88%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 60.2% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers
  • CWE-120 Buffer Copy without Checking Size of Input

Affected products

As the CNA lists them.

ProductVersions
Junos OS
unaffected before 18.1R1
affected from 18.1, before 18.1R3-S11
affected from 18.2, before 18.2R3-S5
affected from 18.3, before 18.3R2-S4, 18.3R3-S3
affected from 18.4, before 18.4R2-S5, 18.4R3-S3
affected from 19.1, before 19.1R2-S2, 19.1R3-S2
affected from 19.2, before 19.2R1-S5, 19.2R2
affected from 19.3, before 19.3R3
affected from 19.4, before 19.4R1-S3, 19.4R2, 19.4R3
affected from 20.1, before 20.1R1-S2, 20.1R2

Is my server affected?

This CVE is in Junos OS of Juniper Networks, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-0268 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.