CVE-2022-22166

Junos OS: An rpd core will occur if BGP update tracing is configured and an update containing a malformed BGP SR-TE policy tunnel attribute is received

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.38%
Percentile 34.21%
CISA KEV
Not listed
Published
January 19, 2022
Updated September 16, 2024

Description

An Improper Validation of Specified Quantity in Input vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS allows an unauthenticated networked attacker to cause an rdp crash and thereby a Denial of Service (DoS). If a BGP update message is received over an established BGP session where a BGP SR-TE policy tunnel attribute is malformed and BGP update tracing flag is enabled, the rpd will core. This issue can happen with any BGP session as long as the previous conditions are met. This issue can not propagate as the crash occurs as soon as the malformed update is received. This issue affects Juniper Networks Junos OS: 20.4 versions prior to 20.4R3-S1; 21.1 versions prior to 21.1R2-S2, 21.1R3. This issue does not affect Juniper Networks Junos OS versions prior to 20.4R1.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attack vector
A
attack complexity
L
privileges required
N
user interaction
N
scope
U
CWE
CWE-1284, Denial of Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 20.4R3-S1.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

NOT_AFFECTED · RANGE
20.4R1
AFFECTED · RANGE
20.4R3-S1
NOT_AFFECTED · EXACT
20.4R3-S1
UNKNOWN · UNKNOWN
{"lessThan": "21.1R2-S2, 21.1R3", "status": "affected", "version": "21.1", "versionType": "custom"}
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S1
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

NOT_AFFECTED · RANGE
unspecified → 20.4R1
Required configuration: The following two configuration line are both required for the issue to be seen: [ protocols bgp ... family <family> segment-routing-te ] [ protocols bgp ... traceoptions flag update ]
AFFECTED · RANGE
20.4 → 20.4R3-S1
Required configuration: The following two configuration line are both required for the issue to be seen: [ protocols bgp ... family <family> segment-routing-te ] [ protocols bgp ... traceoptions flag update ]
AFFECTED · RANGE
21.1 → 21.1R2-S2, 21.1R3
Required configuration: The following two configuration line are both required for the issue to be seen: [ protocols bgp ... family <family> segment-routing-te ] [ protocols bgp ... traceoptions flag update ]

Remediation

UNKNOWN
Release train: 20.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.1
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.

CVE-2022-22166 – Junos OS Affected Versions & Fix | AllVuln