# CVE-2022-42917: In FRRouting FRR before 8.5, the service user (usually frr) can escalate its privileges to root by monitoring the configuration directory (…

- Severity: Medium 6.7 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-13T00:00:00.000Z
- Modified: 2026-11-10T12:10:00.177Z
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- FRRouting FRRouting: before 4.5

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=1204124>
- <https://frrouting.org/security/cve-2022-42917/>
- <https://github.com/FRRouting/frr/commit/972cdc560e339d70c0ee5fb70ec636ab78f00bca>
- <https://github.com/FRRouting/frr/compare/frr-8.4...frr-8.5>

## Sources

- CVE List: [CVE-2022-42917](https://www.cve.org/CVERecord?id=CVE-2022-42917), CVE Terms of Use, modified 2026-09-14
- NVD: [CVE-2022-42917](https://nvd.nist.gov/vuln/detail/CVE-2022-42917), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-42917 · Whole record: https://cve.day/CVE-2022-42917.json · Rebuilt by cve.day 2026-11-25T22:58:21.456Z
