Juniper Junos OS Time-of-check Time-of-use (TOCTOU) Race Condition DoS (JSA69902)

medium Nessus Plugin ID 166319

Synopsis

The remote device is missing a vendor-supplied security patch.

Description

The version of Junos OS installed on the remote host is affected by a DoS vulnerability as referenced in the JSA69902 advisory. A Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Routing Protocol Daemon (rpd) of Juniper Networks Junos OS, Junos OS Evolved allows a network-based unauthenticated attacker to cause a Denial of Service (DoS).

To be vulnerable to this issue a device needs to be configured with a minimal BGP flow spec configuration like in the following example:

[protocols bgp group <group-name> family <family> flow]

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Apply the relevant Junos software release referenced in Juniper advisory JSA69902

See Also

http://www.nessus.org/u?99086ea4

http://www.nessus.org/u?b616ed59

http://www.nessus.org/u?0d4fd08b

http://www.nessus.org/u?9e1313eb

Plugin Details

Severity: Medium

ID: 166319

File Name: juniper_jsa69902.nasl

Version: 1.6

Type: combined

Published: 10/20/2022

Updated: 6/18/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2022-22220

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:juniper:junos

Required KB Items: Host/Juniper/JUNOS/Version

Exploit Ease: No known exploits are available

Patch Publication Date: 10/12/2022

Vulnerability Publication Date: 10/12/2022

Reference Information

CVE: CVE-2022-22220

IAVA: 2022-A-0421-S

JSA: JSA69902