Bug 2532800 (CVE-2022-42917) - CVE-2022-42917 frr: FRRouting FRR: Privilege escalation via TOCTOU race condition
Summary: CVE-2022-42917 frr: FRRouting FRR: Privilege escalation via TOCTOU race condi...
Keywords:
Status: NEW
Alias: CVE-2022-42917
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2532944
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-13 23:31 UTC by OSIDB Bzimport
Modified: 2026-09-14 07:50 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-13 23:31:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.