Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://bugzilla.suse.com/show_bug.cgi?id=1204124
- https://frrouting.org/security/cve-2022-42917/
- https://github.com/FRRouting/frr/commit/972cdc560e339d70c0ee5fb70ec636ab78f00bca
- https://github.com/FRRouting/frr/compare/frr-8.4...frr-8.5
FAQ
What is CVE-2022-42917?
CVE-2022-42917 is a vulnerability with a CVSS score of 6.7 (MEDIUM). 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 ...
How severe is CVE-2022-42917?
CVE-2022-42917 has been rated MEDIUM with a CVSS base score of 6.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-42917?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.