CVE-2021-35937: fedoraproject fedora Link Following
Vulnerability summary
CVE-2021-35937 is a medium (CVSS 6.4) Link Following vulnerability in fedoraproject fedora. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 24% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 6Timeline
- 25-08-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.4MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.4MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
0.00 pp
From 0.32% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (usenix.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-59Improper Link Resolution Before File Access ('Link Following')The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
- CWE-367Time-of-check Time-of-use (TOCTOU) Race ConditionThe product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Affected systems
Debian1 product
- rpm< 4.18.0+dfsg-1
Fedoraproject1 product
- fedoraEOL34
Redhat1 product
- enterprise_linuxEOL6.0 | 7.0 | 8.0 | 9.0
Rpm1 product
- rpm< 4.18.0
Ubuntu1 product
- rpmAll versions (No fix recorded)
5 vendors · 5 products
References
9 links- rpm.org/wiki/Releases/4.18.0Release Notes
- access.redhat.com/security/cve/CVE-2021-35937Vendor Advisory
- www.usenix.org/legacy/event/sec05/tech/full_papers/borisov/borisov.pdfExploitTechnical DescriptionThird Party Advisory