CVE-2017-7501 — Time-of-check Time-of-use (TOCTOU) Race Condition in RPM
CWE-367 — Time-of-check Time-of-use (TOCTOU) Race ConditionCWE-59 — Link Following19 documents7 sources
Severity
7.8HIGHNVD
NVD6.7NVD6.4
EPSS
0.1%
top 83.19%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 26
Latest updateAug 27
Description
It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created. A local unprivileged user who owns another ancestor directory could potentially use this flaw to gain 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:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitability: 0.8 | Impact: 5.9
Affected Packages8 packages
Also affects: Fedora 34, Enterprise Linux 6.0, 7.0, 8.0, 9.0
Patches
🔴Vulnerability Details
6GHSA▶
GHSA-prgv-w33h-5m73: It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to b↗2022-08-27
OSV▶
CVE-2021-35939: It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to b↗2022-08-26
📋Vendor Advisories
8Microsoft▶
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 gain↗2022-08-09
Microsoft▶
It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created. A local unprivileged user who owns anot↗2022-08-09
Debian▶
CVE-2021-35937: rpm - A race condition vulnerability was found in rpm. A local unprivileged user could...↗2021