CVE-2022-42917
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
6.7
(v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-09-14 00:16:55.700000
Last modified
2026-11-10 12:10:00.177000
View original CVE JSON
{
"id": "CVE-2022-42917",
"sourceIdentifier": "[email protected]",
"published": "2026-09-14T00:16:55.700",
"lastModified": "2026-11-10T12:10:00.177",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "En FRRouting FRR antes de la versión 8.5, el usuario del servicio (generalmente frr) puede elevar sus privilegios a root al monitorear el directorio de configuración (/etc/frr) y reemplazar archivos de configuración al crearse con, por ejemplo, enlaces simbólicos para cambiar la propiedad de archivos arbitrarios. Esto es una Condición de Carrera TOCTOU (Time Of Check To Time Of Use) causada por una combinación de touch y chown."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "FRRouting",
"product": "FRRouting",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"lessThan": "4.5",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
"baseScore": 6.7,
"baseSeverity": "MEDIUM",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 0.8,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-09-14T15:03:58.372990Z",
"id": "CVE-2022-42917",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-367"
}
]
}
],
"references": [
{
"url": "https://bugzilla.suse.com/show_bug.cgi?id=1204124",
"source": "[email protected]"
},
{
"url": "https://frrouting.org/security/cve-2022-42917/",
"source": "[email protected]"
},
{
"url": "https://github.com/FRRouting/frr/commit/972cdc560e339d70c0ee5fb70ec636ab78f00bca",
"source": "[email protected]"
},
{
"url": "https://github.com/FRRouting/frr/compare/frr-8.4...frr-8.5",
"source": "[email protected]"
}
]
}