CVE-2021-35939
Reported by redhat · Published August 26, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rpm-plugin-selinux | Amazon Linux | 4.16.1.3-29.amzn2023.0.6 |
| rpm-build-libs | Amazon Linux | 4.16.1.3-29.amzn2023.0.6 |
| rpm-plugin-syslog | Amazon Linux | 4.16.1.3-29.amzn2023.0.6 |
| rpm-libs | Amazon Linux | 4.16.1.3-29.amzn2023.0.6 |
| rpm | Alpine | 4.18.0-r0 |
| rpm | Amazon Linux | 4.16.1.3-29.amzn2023.0.6 |
| rpm-plugin-ima | Amazon Linux | 4.16.1.3-29.amzn2023.0.6 |
| rpm-build | Amazon Linux | 4.16.1.3-29.amzn2023.0.6 |
| rpm-devel | Amazon Linux | 4.16.1.3-29.amzn2023.0.6 |
| rpm | rpm | 4.18 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | RPM | Fixed in RPM-v4.18 |
| amazon:2023 | rpm-plugin-selinux | 0 |
| amazon:2023 | rpm-build-libs | 0 |
| amazon:2023 | rpm-plugin-syslog | 0 |
| amazon:2023 | rpm-libs | 0 |
| alpine | rpm | 0 |
| amazon:2023 | rpm | 0 |
| amazon:2023 | rpm-plugin-ima | 0 |
| amazon:2023 | rpm-build | 0 |
| amazon:2023 | rpm-devel | 0 |
| n/a | RPM | 4.18 |
| amazon:2023 | rpm-sign | 0 |
| amazon:2023 | rpm-apidocs | 0 |
| amazon:2023 | rpm-plugin-prioreset | 0 |
| amazon:2023 | rpm-cron | 0 |
| amazon:2023 | python3-rpm | 0 |
| amazon:2023 | rpm-sign-libs | 0 |
| amazon:2023 | rpm-plugin-fapolicyd | 0 |
| amazon:2023 | rpm-plugin-audit | 0 |
| amazon:2023 | rpm-plugin-systemd-inhibit | 0 |
Timeline
- Aug 26, 2022 CVE Published
- Aug 27, 2022 EPSS Score (30 in total, the first dated here)
- Aug 4, 2024 CVE Updated
- Mar 10, 2026 Security Advisory (11 in total, the first dated here)
- Jul 29, 2026 Coalition ESS Score
- Nov 4, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-35939
vulnetix vdb fixes CVE-2021-35939
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-35939/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202210-22 vendor-advisory