Bug 2532944 - CVE-2022-42917 frr: FRRouting FRR: Privilege escalation via TOCTOU race condition [fedora-all]
Summary: CVE-2022-42917 frr: FRRouting FRR: Privilege escalation via TOCTOU race condi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: frr
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Michal Ruprich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["64f2e558-b8fe-4d94-8e5a-f...
Depends On:
Blocks: CVE-2022-42917
TreeView+ depends on / blocked
 
Reported: 2026-09-14 07:40 UTC by Vladimir Vasilev
Modified: 2026-09-14 09:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-09-14 09:30:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-09-14 07:40:44 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Michal Ruprich 2026-09-14 09:30:20 UTC
The fix for this CVE is already included in the version that is currently shipped. Closing.


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