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

Severity
6.4MEDIUMNVD
CNA7.3OSV7.8
EPSS
0.0%
top 97.57%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 25
Latest updateAug 26

Description

A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.5 | Impact: 5.9

Affected Packages3 packages

NVDrpm/rpm< 4.18.0
Debianrpm/rpm< 4.18.0+dfsg-1+2
CVEListV5rpm/rpmFixed in rpm v4.18.0

Also affects: Fedora 34, Enterprise Linux 6.0, 7.0, 8.0, 9.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-63x9-9q4w-j636: A race condition vulnerability was found in rpm2022-08-26
OSV
CVE-2021-35937: A race condition vulnerability was found in rpm2022-08-25
CVEList
CVE-2021-35937: A race condition vulnerability was found in rpm2022-08-25

📋Vendor Advisories

3
Microsoft
A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501 potentially gain2022-08-09
Red Hat
rpm: TOCTOU race in checks for unsafe symlinks2021-06-30
Debian
CVE-2021-35937: rpm - A race condition vulnerability was found in rpm. A local unprivileged user could...2021
CVE-2021-35937 — RPM vulnerability | cvebase