Race condition in Portage - CVE-2019-20384

 

Race condition in Portage - CVE-2019-20384

Published: January 21, 2020 / Updated: May 25, 2020


Vulnerability identifier: #VU24452
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-20384
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Gentoo
Affected software:
Portage

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a race condition. A local user can place a Trojan horse plugin in the "/usr/lib64/nagios/plugins" directory by leveraging access to the nagios user account, because this directory is writable in between a call to emake and a call to fowners.


How to mitigate CVE-2019-20384

Install update from vendor's website.

Sources