Race condition in coreutils (Alpine package)



Published: 2018-08-16
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-18018
CWE-ID CWE-362
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
coreutils (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Race condition

EUVDB-ID: #VU33153

Risk: Low

CVSSv3.1: 4.1 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-18018

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

Description

The vulnerability allows a local authenticated user to manipulate data.

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

coreutils (Alpine package): 8.27-r0 - 8.31-r0

External links

http://git.alpinelinux.org/aports/commit/?id=9d7cab77e911bba47d621d0a3560e5f8526df1bc
http://git.alpinelinux.org/aports/commit/?id=af7395aaa3100fd61a9d94b1f0e159eebc46255f
http://git.alpinelinux.org/aports/commit/?id=c5f39cc751f15865dfe6a004f5861679c0fc3571
http://git.alpinelinux.org/aports/commit/?id=2e1d0e8a8958d2fddd9e9fa9fe10de0622b01348


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###