VDB

CVE-2021-35939

CVE-2021-35939 PUBLISHED

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.

PackageEcosystemFixed in
rpm-plugin-selinuxAmazon Linux4.16.1.3-29.amzn2023.0.6
rpm-build-libsAmazon Linux4.16.1.3-29.amzn2023.0.6
rpm-plugin-syslogAmazon Linux4.16.1.3-29.amzn2023.0.6
rpm-libsAmazon Linux4.16.1.3-29.amzn2023.0.6
rpmAlpine4.18.0-r0
rpmAmazon Linux4.16.1.3-29.amzn2023.0.6
rpm-plugin-imaAmazon Linux4.16.1.3-29.amzn2023.0.6
rpm-buildAmazon Linux4.16.1.3-29.amzn2023.0.6
rpm-develAmazon Linux4.16.1.3-29.amzn2023.0.6
rpmrpm4.18

Affected products

VendorProductVersions
n/aRPMFixed in RPM-v4.18
amazon:2023rpm-plugin-selinux0
amazon:2023rpm-build-libs0
amazon:2023rpm-plugin-syslog0
amazon:2023rpm-libs0
alpinerpm0
amazon:2023rpm0
amazon:2023rpm-plugin-ima0
amazon:2023rpm-build0
amazon:2023rpm-devel0
n/aRPM4.18
amazon:2023rpm-sign0
amazon:2023rpm-apidocs0
amazon:2023rpm-plugin-prioreset0
amazon:2023rpm-cron0
amazon:2023python3-rpm0
amazon:2023rpm-sign-libs0
amazon:2023rpm-plugin-fapolicyd0
amazon:2023rpm-plugin-audit0
amazon:2023rpm-plugin-systemd-inhibit0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›