CVE-2022-42917

Source
https://cve.org/CVERecord?id=CVE-2022-42917
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42917.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-42917
Downstream
Related
Published
2026-09-13T00:00:00Z
Modified
2026-09-16T03:31:01Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "mitre",
    "cwe_ids": [
        "CWE-367"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42917.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "4.5"
                }
            ],
            "source": "AFFECTED_FIELD"
        },
        {
            "extracted_events": [
                {
                    "fixed": "4.5"
                }
            ],
            "source": "CPE_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/frrouting/frr

Affected ranges

Type
GIT
Repo
https://github.com/frrouting/frr
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "8.5"
        }
    ],
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

7.*
7.1_pulled
8.*
8.1-dev
base_7.*
base_7.2
base_7.3
base_7.4
base_7.5
base_7.6
base_8.*
base_8.0
base_8.1
base_8.2
base_8.3
base_8.4
frr-3.*
frr-3.0-branchpoint
frr-3.1-dev
frr-5.*
frr-5.1-dev
frr-6.*
frr-6.1-dev
frr-7.*
frr-7.1-dev
frr-7.2-dev
frr-7.3-dev
frr-7.4-dev
frr-7.5-dev
frr-7.6-dev
frr-8.*
frr-8.0-dev
frr-8.1-dev
frr-8.1-rc1
frr-8.2-dev
frr-8.3-dev
frr-8.4-dev
frr-8.5-dev
Other
reindent-master-after
reindent-master-before

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42917.json"