CVE-2022-42917 PUBLISHED

Assigner: mitre
Reserved: 13.10.2022 Published: 13.09.2026 Updated: 13.09.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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 6.7

Product Status

Vendor FRRouting
Product FRRouting
Versions Default: unaffected
  • affected from 0 to 4.5 (excl.)

References

Problem Types

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition CWE