---
cve: "CVE-2022-42917"
severity: "MEDIUM"
cvss: 6.7
epss: "0.1%"
vendor: "FRRouting"
kev: false
exploited: false
published: "2026-09-14 00:16:55"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-21T08:40:07+02:00"
---

# CVE-2022-42917

> 6.7 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Hoch | good |
| PR Privilegien | Gering | warn |
| UI Interaktion | Erforderlich | good |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- b81570c690d79ebc1a03708dc17d33caa9639a5f (Commit)
- 972cdc560e339d70c0ee5fb70ec636ab78f00bca (Commit)

## Referenzen

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

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-42917) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
