Race condition in FreeBSD - CVE-2020-25584
Published: April 7, 2021
Vulnerability identifier: #VU51949
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-25584
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a race condition between lookup of ".." and remounting a filesystem. A local administrator can change the root directory outside of the jail and gain full read and write access to all files and directories in the system.
Affected software
FreeBSD
How to mitigate CVE-2020-25584
Install updates from vendor's website.
FreeBSD - addressed in versions 11.4, 11.4-RELEASE-p9, 12.2, 12.2-RELEASE-p6, 13.0 RC5-p1, 13.0