# CVE-2022-42917

- Priority: **Routine**
- Reason: Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-13 · Modified: 2026-09-14
- Aliases: UBUNTU-CVE-2022-42917, DEBIAN-CVE-2022-42917
- Record: https://cvemate.com/vulnerability/CVE-2022-42917 · JSON: https://cvemate.com/vulnerability/CVE-2022-42917/json

## Description

```text
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.
```

## Signals

- CVSS: 6.7 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.13%, percentile 2.784%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian frr (Debian): \< 8.4.1-1
- ubuntu frr (Ubuntu): All versions (No fix recorded)
- ubuntu quagga (Ubuntu): All versions (No fix recorded)
- frrouting frrouting: \< 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>
- <https://ubuntu.com/security/CVE-2022-42917>
- <https://www.cve.org/CVERecord?id=CVE-2022-42917>
- <https://security-tracker.debian.org/tracker/CVE-2022-42917>

---

Data as of 2026-12-05T12:42:57.006Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
