p PatchFirst

CVE-2022-42917

CVE-2022-42917

CVSS 6.7 · Medium · EPSS 0.1% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • frroutingUpdate to 4.5
  • frr Debian 12Update to 8.4.1-1
  • frr Debian 13Update to 8.4.1-1
  • frr Debian 14Update to 8.4.1-1
  • and 5 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="frr"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Fixes in distributions

  • openSUSE-SU-2024:12516-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2022:4130-1 · openSUSE Leap 15.3, openSUSE Leap 15.4, SUSE Linux Enterprise Module for Server Applications 15 SP3, SUSE Linux Enterprise Module for Server Applications 15 SP4 ·

Stack: system

Affected products and versions

  • frrouting

    Versions
    • ≥ 0, < 4.5: Affected (custom)

    Update to 4.5

  • frr Debian 12

    Affected ranges
    • ECOSYSTEM: < 8.4.1-1

    Update to 8.4.1-1

  • frr Debian 13

    Affected ranges
    • ECOSYSTEM: < 8.4.1-1

    Update to 8.4.1-1

  • frr Debian 14

    Affected ranges
    • ECOSYSTEM: < 8.4.1-1

    Update to 8.4.1-1

  • quagga Ubuntu Pro 16.04 LTS

    Versions
    • 0.99.24.1-2
    • 0.99.24.1-2ubuntu1
    • 0.99.24.1-2ubuntu1.1
    • 0.99.24.1-2ubuntu1.2
    • 0.99.24.1-2ubuntu1.3
    • 0.99.24.1-2ubuntu1.4
    All versions (7)
    • 0.99.24.1-2ubuntu1.4+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • quagga Ubuntu Pro 18.04 LTS

    Versions
    • 1.1.1-3
    • 1.1.1-3ubuntu1
    • 1.2.2-1
    • 1.2.2-1ubuntu1
    • 1.2.4-1
    • 1.2.4-1ubuntu0.1~esm1
    All versions (7)
    • 1.2.4-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • quagga Ubuntu 20.04 LTS

    Versions
    • 1.2.4-4build1
    • 1.2.4-4ubuntu0.1
    • 1.2.4-4ubuntu0.4
    • 1.2.4-4ubuntu0.5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • frr Ubuntu Pro 20.04 LTS

    Versions
    • 6.0.2-2build2
    • 7.2-1ubuntu1
    • 7.2-1ubuntu2
    • 7.2.1-1
    • 7.2.1-1ubuntu0.1
    • 7.2.1-1ubuntu0.2
    All versions (11)
    • 7.2.1-1ubuntu0.2+esm1
    • 7.2.1-1ubuntu0.2+esm2
    • 7.2.1-1ubuntu0.2+esm3
    • 7.2.1-1ubuntu0.2+esm4
    • 7.2.1-1ubuntu0.2+esm5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • frr Ubuntu 22.04 LTS

    Versions
    • 7.5.1-1.1
    • 8.1-1
    • 8.1-1ubuntu1
    • 8.1-1ubuntu1.1
    • 8.1-1ubuntu1.2
    • 8.1-1ubuntu1.3
    All versions (19)
    • 8.1-1ubuntu1.4
    • 8.1-1ubuntu1.5
    • 8.1-1ubuntu1.6
    • 8.1-1ubuntu1.7
    • 8.1-1ubuntu1.8
    • 8.1-1ubuntu1.9
    • 8.1-1ubuntu1.10
    • 8.1-1ubuntu1.11
    • 8.1-1ubuntu1.13
    • 8.1-1ubuntu1.14
    • 8.1-1ubuntu1.15
    • 8.1-1ubuntu1.16
    • 8.1-1ubuntu1.17
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →