{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-42917","id":"CVE-2022-42917","title":"In FRRouting FRR before 8.5, the service user (usually frr) can escalate its privileges to root by monitoring the con…","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.","descriptionLong":"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.","published":"2026-09-13T00:00:00.000Z","updated":"2026-11-12T02:30:28.670064923Z","reserved":"2022-10-13T00:00:00.000Z","status":"Awaiting Analysis","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"mitre"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"mitre.org"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["FRRouting"],"affectedProducts":[{"vendor":"FRRouting","product":"FRRouting","defaultStatus":"unaffected","versions":[{"lessThan":"4.5","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-367"],"aliases":[],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1204124","tags":["report"]},{"url":"https://frrouting.org/security/cve-2022-42917/","tags":["web"]},{"url":"https://github.com/FRRouting/frr/commit/972cdc560e339d70c0ee5fb70ec636ab78f00bca","tags":["fix"]},{"url":"https://github.com/FRRouting/frr/compare/frr-8.4...frr-8.5","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42917.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42917","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00116,"epssPercentile":0.01619,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-42917","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42917","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-42917","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-42917","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}