CVE-2021-31375

Junos OS: Receipt of a specific BGP update may cause RPKI policy-checks to be bypassed

7.2 high EPSS 0.80%

Published 19 Oct 2021 Updated 17 Sep 2024 CNA: juniper

Description

An Improper Input Validation vulnerability in routing process daemon (RPD) of Juniper Networks Junos OS devices configured with BGP origin validation using Resource Public Key Infrastructure (RPKI), allows an attacker to send a specific BGP update which may cause RPKI policy-checks to be bypassed. This, in turn, may allow a spoofed advertisement to be accepted or propagated. This issue affects: Juniper Networks Junos OS 12.3 versions prior to 12.3R12-S18; 15.1 versions prior to 15.1R7-S9; 17.2 versions prior to 17.2R3-S3; 17.3 versions prior to 17.3R3-S7; 17.4 versions prior to 17.4R2-S9, 17.4R3; 18.1 versions prior to 18.1R3-S13; 18.2 versions prior to 18.2R3-S3; 18.3 versions prior to 18.3R3-S1; 18.4 versions prior to 18.4R3; 19.1 versions prior to 19.1R2; 19.2 versions prior to 19.2R2; 19.3 versions prior to 19.3R2.

Severity (CVSS)

7.2 high CVSS 3.1 from juniper (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/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
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality none, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

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

Weakness

  • CWE-20 Improper Input Validation
  • CWE-358 Improperly Implemented Security Check for Standard

Affected products

As the CNA lists them.

ProductVersions
Junos OS
affected from 12.3, before 12.3R12-S18
affected from 15.1, before 15.1R7-S9
affected from 17.2, before 17.2R3-S3
affected from 17.3, before 17.3R3-S7
affected from 17.4, before 17.4R2-S9, 17.4R3
affected from 18.1, before 18.1R3-S13
affected from 18.2, before 18.2R3-S3
affected from 18.3, before 18.3R3-S1
affected from 18.4, before 18.4R3
affected from 19.1, before 19.1R2
affected from 19.2, before 19.2R2
affected from 19.3, before 19.3R2

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

Advisories

Source: the record CVE-2021-31375 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.