# CVE-2022-42917

## Summary

- **CVE ID:** CVE-2022-42917
- **Severity:** MEDIUM
- **CVSS Score:** 6.7 (CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H)
- **CWE:** CWE-367
- **Published:** Sep 13, 2026
- **Last Modified:** Sep 14, 2026

## 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.

## Affected Products

- FRRouting — FRRouting (0)

## References

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

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.13%
- **EPSS Percentile:** 3.1

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-18._