Time-of-check Time-of-use (TOCTOU) Affecting frr package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-FRR-19985667
  • published20 Sept 2026
  • disclosed13 Sept 2026

Introduced: 13 Sep 2026

CVE-2022-42917  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 frr.

NVD Description

Note: Versions mentioned in the description apply only to the upstream frr package and not the frr package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1