CVE-2022-42917: Race Condition

Published Sep 13, 2026
·
Updated

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.

Affected Software

1 affected component
Frrouting FRRouting (FRR)<8.5

Event History

Sep 13, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Frequently Asked Questions

1

Which deployments are affected?

FRRouting installations running a version before 8.5 are affected. The issue involves the FRR configuration directory, /etc/frr.

2

What access does an attacker need?

An attacker needs the ability to act as the FRR service user, usually frr, and monitor /etc/frr for configuration files as they are created.

3

What is the practical impact of successful exploitation?

The service user can escalate privileges to root by replacing newly created configuration files, such as with symlinks. This can cause ownership changes to arbitrary files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203