CVE-2021-35939

rpm: checks for unsafe symlinks are not performed for intermediary directories

Published Aug 26, 2022 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-22574 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00129}

epss

{'score': 0.00132}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 4, 2024, 12:40 AM
Reserved
Jun 29, 2021, 12:00 AM
Status
Modified
Published
Aug 26, 2022, 4:15 PM
Modified
Jun 17, 2026, 3:57 AM
Severity
Moderate
Public date
Jun 30, 2021, 12:00 AM