
CVE catalog
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 (/etc/frr) and replacing config files upon creation with, for
- Severity
- High · CVSS 8.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.12% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | frr | sid | 10.7.1-6 | fixed |
| Debian | frr | forky | 10.7.1-6 | fixed |
| Debian | frr | trixie | 10.3-3+deb13u1 | fixed |
| Debian | frr | trixie-security | 10.3-3+deb13u1 | fixed |
| Debian | frr | bookworm | 8.4.4-1.1~deb12u2 | fixed |
| Debian | frr | bookworm-security | 8.4.4-1.1~deb12u2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | frr | source | sid | 8.4.1-1 | not yet assigned | Not reported | Not reported |
| Debian | frr | source | forky | 8.4.1-1 | not yet assigned | Not reported | Not reported |
| Debian | frr | source | trixie | 8.4.1-1 | not yet assigned | Not reported | Not reported |
| Debian | frr | source | bookworm | 8.4.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [frr]Unknown
Details (4)
8.4.4-1.1~deb12u2· amd64 · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· arm64 · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
- [frr-doc]Unknown
Source package: [frr]
Details (4)
8.4.4-1.1~deb12u2· all · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· all · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· all · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· all · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
- [frr-pythontools]Unknown
Source package: [frr]
Details (4)
8.4.4-1.1~deb12u2· all · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· all · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· all · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· all · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
- [frr-rpki-rtrlib]Unknown
Source package: [frr]
Details (4)
8.4.4-1.1~deb12u2· amd64 · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· arm64 · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
- [frr-snmp]Unknown
Source package: [frr]
Details (4)
8.4.4-1.1~deb12u2· amd64 · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· arm64 · bookwormFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
8.4.4-1.1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
8.4.1-1nvd · frr · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_4130-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2022-42917]
- [https://security-tracker.debian.org/tracker/CVE-2022-42917]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-42917.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3339.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]