Time-of-check Time-of-use (TOCTOU) Affecting frr package, versions <8.4.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

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-ECHOLATEST-FRR-19865127
  • published16 Sept 2026
  • disclosed14 Sept 2026

Introduced: 14 Sep 2026

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

How to fix?

Upgrade Echo:latest frr to version 8.4.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream frr package and not the frr package as distributed by Echo. See How to fix? for Echo:latest 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