Time-of-check Time-of-use (TOCTOU) Affecting libfrr_pb0 package, versions <7.4-150300.4.10.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server 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-SLES154-LIBFRRPB0-3126998
  • published19 Nov 2022
  • disclosed18 Nov 2022

Introduced: 18 Nov 2022

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

How to fix?

Upgrade SLES:15.4 libfrr_pb0 to version 7.4-150300.4.10.1 or higher.

NVD Description

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