Time-of-check Time-of-use (TOCTOU) Race Condition in rpm - CVE-2021-35937

 

Time-of-check Time-of-use (TOCTOU) Race Condition in rpm - CVE-2021-35937

Published: August 15, 2023


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

Detailed vulnerability description

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

The vulnerability exist due to race condition. A local privileged user can bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges.


How to mitigate CVE-2021-35937

Install updates from vendor's website.

Sources