cve.bz

CVE-2022-42917 frrouting frrouting

6.7 mediumEPSS 0.1%

Medium (6.7) in frrouting frrouting. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-42917 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-42917?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-42917?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-42917 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FRRoutingbefore 4.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14frr8.4.1-1DEBIAN-CVE-2022-42917
Ubuntu20.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSquaggano fix listedUBUNTU-CVE-2022-42917
Ubuntu22.04:LTS, Pro:20.04:LTSfrrno fix listedUBUNTU-CVE-2022-42917
SUSELinux Enterprise Module for Server Applications 15 SP3, Linux Enterprise Module for Server Applications 15 SP4frr7.4-150300.4.10.1SUSE-SU-2022:4130-1
openSUSELeap 15.3, Leap 15.4frr7.4-150300.4.10.1SUSE-SU-2022:4130-1
openSUSETumbleweedfrr8.4-1.1openSUSE-SU-2024:12516-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Fast Datapath for RHEL 10frrNot affected
Red Hat Enterprise Linux 10frrNot affected
Red Hat Enterprise Linux 8frrFix deferred
Red Hat Enterprise Linux 9frrFix deferred
Red Hat Enterprise Linux 9frr10Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-42917.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON