CVE Catalog

CVE-2022-42917

MediumCVSS 6.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

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.

Risk Assessment

A local attacker with frr user privileges can gain full root control of the system, leading to complete host compromise.

Recommendation

Upgrade FRRouting FRR to version 8.5 or later to eliminate the privilege escalation path.

Other vulnerabilities in FRRouting FRR

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS