Race Condition Affecting coreutils package, versions [,8.30)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-COREUTILS-2319188
  • published14 Dec 2021
  • disclosed4 Jan 2018
  • creditUnknown

Introduced: 4 Jan 2018

CVE-2017-18018  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade coreutils to version 8.30 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition. In GNU Coreutils through 8.29, chown-core.c in chown and chgrp does not prevent replacement of a plain file with a symlink during use of the POSIX "-R -L" options, which allows local users to modify the ownership of arbitrary files by leveraging a race condition.

CVSS Scores

version 3.1