What’s Vulnerable › Vulnerabilities

CVE-2022-42917

Description

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.

Affected products

How to fix

Upgrade to a fixed version: FRRouting 4.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-42917 or the next vulnerability affects your stack