CVE-2021-35939

Summary

CVECVE-2021-35939
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-26 16:15:00 UTC
Updated2023-02-04 01:16:00 UTC
DescriptionIt 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.

Risk And Classification

Problem Types: CWE-59

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Redhat Enterprise Linux 8.0 All All All
Application Rpm Rpm All All All All

References

ReferenceSourceLinkTags
Validate intermediate symlinks during installation, CVE-2021-35939 · rpm-software-management/rpm@96ec957 · GitHub MISC github.com
Red Hat Customer Portal - Access to 24x7 support and knowledge MISC access.redhat.com
rpm.org - Releases MISC rpm.org
1964129 – (CVE-2021-35939) CVE-2021-35939 rpm: checks for unsafe symlinks are not performed for intermediary directories MISC bugzilla.redhat.com
RPM: Multiple Vulnerabilities (GLSA 202210-22) — Gentoo security GENTOO security.gentoo.org
First steps towards fixing the symlink CVEs by pmatilai · Pull Request #1919 · rpm-software-management/rpm · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 161314 Oracle Enterprise Linux Security Update for rpm (ELSA-2024-0463)
  • 161331 Oracle Enterprise Linux Security Update for rpm (ELSA-2024-0647)
  • 182935 Debian Security Update for rpm (CVE-2021-35939)
  • 242744 Red Hat Update for rpm (RHSA-2024:0424)
  • 242754 Red Hat Update for rpm (RHSA-2024:0463)
  • 242757 Red Hat Update for rpm (RHSA-2024:0435)
  • 242810 Red Hat Update for rpm (RHSA-2024:0582)
  • 242816 Red Hat Update for rpm (RHSA-2024:0647)
  • 242842 Red Hat Update for rpm (RHSA-2024:0453)
  • 357349 Amazon Linux Security Advisory for rpm : ALAS2023-2024-573
  • 379634 Alibaba Cloud Linux Security Update for rpm (ALINUX3-SA-2024:0030)
  • 502949 Alpine Linux Security Update for rpm
  • 505818 Alpine Linux Security Update for rpm
  • 672363 EulerOS Security Update for rpm (EulerOS-SA-2022-2741)
  • 672374 EulerOS Security Update for rpm (EulerOS-SA-2022-2776)
  • 672457 EulerOS Security Update for rpm (EulerOS-SA-2022-2829)
  • 672471 EulerOS Security Update for rpm (EulerOS-SA-2022-2855)
  • 691000 Free Berkeley Software Distribution (FreeBSD) Security Update for rpm4 (0c52abde-717b-11ed-98ca-40b034429ecf)
  • 710651 Gentoo Linux RPM Multiple Vulnerabilities (GLSA 202210-22)
  • 903739 Common Base Linux Mariner (CBL-Mariner) Security Update for rpm (10784)
  • 903833 Common Base Linux Mariner (CBL-Mariner) Security Update for rpm (10769)
  • 904122 Common Base Linux Mariner (CBL-Mariner) Security Update for rpm (10769-1)
  • 941549 AlmaLinux Security Update for rpm (ALSA-2024:0463)
  • 941568 AlmaLinux Security Update for rpm (ALSA-2024:0647)
  • 961111 Rocky Linux Security Update for rpm (RLSA-2024:0647)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report