CVE catalog

CVE-2022-42917

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

[CVE catalog]

Severity
High · CVSS 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.12% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianfrrsid10.7.1-6fixed
Debianfrrforky10.7.1-6fixed
Debianfrrtrixie10.3-3+deb13u1fixed
Debianfrrtrixie-security10.3-3+deb13u1fixed
Debianfrrbookworm8.4.4-1.1~deb12u2fixed
Debianfrrbookworm-security8.4.4-1.1~deb12u2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianfrrsourcesid8.4.1-1not yet assignedNot reportedNot reported
Debianfrrsourceforky8.4.1-1not yet assignedNot reportedNot reported
Debianfrrsourcetrixie8.4.1-1not yet assignedNot reportedNot reported
Debianfrrsourcebookworm8.4.1-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [frr]Unknown
    Details (4)
    • 8.4.4-1.1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

  • [frr-doc]Unknown

    Source package: [frr]

    Details (4)
    • 8.4.4-1.1~deb12u2 · all · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · all · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

  • Source package: [frr]

    Details (4)
    • 8.4.4-1.1~deb12u2 · all · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · all · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

  • Source package: [frr]

    Details (4)
    • 8.4.4-1.1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

  • [frr-snmp]Unknown

    Source package: [frr]

    Details (4)
    • 8.4.4-1.1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

    • 8.4.4-1.1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 8.4.1-1

      nvd · frr · debian · bookworm

Observed:

References