Time-of-check Time-of-use (TOCTOU) Affecting systemd-resolved 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-SYSTEMDRESOLVED-1982717
  • 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-resolved.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-resolved package and not the systemd-resolved 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