Time-of-check Time-of-use (TOCTOU) Affecting systemd-sysv package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.06% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-SYSTEMDSYSV-1982052
  • published26 Jul 2021
  • disclosed24 Dec 2017

Introduced: 24 Dec 2017

CVE-2017-18078  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 systemd-sysv.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-sysv package and not the systemd-sysv package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs.protected_hardlinks sysctl is turned off, which allows local users to bypass intended access restrictions via vectors involving a hard link to a file for which the user lacks write access, as demonstrated by changing the ownership of the /etc/passwd file.

CVSS Scores

version 3.1