CVE-2021-31367

Junos OS: PTX Series: An FPC heap memory leak will be triggered by certain Flowspec route operations which can lead to an FPC crash

MEDIUM
6.5
CVSS Score
Published: October 19, 2021 at 06:16 PM UTC
Updated: June 17, 2026 at 03:51 AM UTC
10 products affected across 2 vendorsJunosPtx10008Ptx10003

Using Junos OS by Juniper Networks?

Get instant alerts when new vulnerabilities affect Junos OS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.4%

Description

A Missing Release of Memory after Effective Lifetime vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on PTX Series allows an adjacent attacker to cause a Denial of Service (DoS) by sending genuine BGP flowspec packets which cause an FPC heap memory leak. Once having run out of memory the FPC will crash and restart along with a core dump. Continued receipted of these packets will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS All versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S7; 19.2 versions prior to 19.2R1-S7, 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R1-S4, 19.4R3-S6; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R3-S1; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2. Juniper Networks Junos Evolved is not affected.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Affected range stops below 18.4R3-S9, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.1R3-S7, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.2R1-S7, 19.2R3-S3, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.3R2-S6, 19.3R3-S3, so it looks safe — our inference, not a vendor statement
Affected range stops below 19.4R1-S4, 19.4R3-S6, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.1R2-S2, 20.1R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.2R3-S1, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.3R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 20.4R3, so it looks safe — our inference, not a vendor statement
Affected range stops below 21.1R2, so it looks safe — our inference, not a vendor statement
juniper-ptx1000 (environment) · juniper-ptx10001-36mr (environment) · juniper-ptx10002 (environment) · juniper-ptx10003 (environment) · juniper-ptx10004 (environment) · juniper-ptx10008 (environment) · juniper-ptx10016 (environment) · juniper-ptx3000 (environment) · juniper-ptx5000 (environment)
All versions
All versions
All versions
All versions
All versions
All versions
All versions
All versions
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (1)

x_refsource_CONFIRMPatchVendor Advisory
https://kb.juniper.net/JSA11229

CVSS

6.5MEDIUMjuniper
Attack Vector
ADJACENT_NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card