CVE-2022-42917

MEDIUM CVSS 3.1: 6.7 EPSS 0.13%
Updated Sep 22, 2026
In
Parameter Value
CVSS 6.7 (MEDIUM)
Affected Versions before 8.5
Type CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor In
Public PoC No

In FRRouting FRR before 8.5, the service user (usually frr) can escalate its privileges to root by monitoring the configuration directory (/etc/frr) and replacing config files upon creation with, for example, symlinks to change the ownership of arbitrary files. This is a TOCTOU Race Condition caused by a combination of touch and chown.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1