Time-of-check Time-of-use (TOCTOU) Race Condition in Linux kernel - CVE-2020-25212

 

Time-of-check Time-of-use (TOCTOU) Race Condition in Linux kernel - CVE-2020-25212

Published: March 12, 2021


Vulnerability identifier: #VU51433
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2020-25212
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

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

The vulnerability exists due to a TOCTOU mismatch in the NFS client code in the Linux kernel. A local user can run a specially crafted program to trigger memory corruption and execute arbitrary code on the system with elevated privileges.

How to mitigate CVE-2020-25212

Install updates from vendor's website.

Sources