CVE-2022-42917 json
In FRRouting FRR before 8.5, the service user (usually frr) can escalate its privileges to root by monitoring the configuration directory (…
published last mo. modified last mo. also EUVD-2022-56059
- cvss
- 6.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 1%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- FRRouting FRRouting 4.5
- frr Debian 14, Debian 13, Debian 12 8.4.1-1
debian advisories DEBIAN-CVE-2022-42917
- frr SLE Module for Server Applications 15 SP4, SLE Module for Server Applications 15 SP3, openSUSE Leap 15.4 +1 more 7.4-150300.4.10.1
suse advisories SUSE-SU-2022:4130-1
- frr openSUSE Tumbleweed 8.4-1.1
opensuse advisories openSUSE-SU-2024:12516-1
Is CVE-2022-42917 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-42917 updated cvss 6.7
frr: FRRouting FRR: Privilege escalation via TOCTOU race condition
-
Red Hat Enterprise Linux 8 frr, frr-contrib, frr-selinux Red Hat Enterprise Linux 9 frr, frr-selinuxaffected: workaround, no fix available “Fix deferred”
-
Red Hat Fast Datapath for RHEL 10 frr, frr-selinux Red Hat Enterprise Linux 9 frr10, frr10-selinux Red Hat Enterprise Linux 10 frrnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.12% chance of exploitation in the next 30 days, higher than 1% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected products
- FRRouting FRRouting
Classification
- Weakness
-
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
Sources
- CVE List CVE-2022-42917
- NVD CVE-2022-42917
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.