CVE-2021-35938

rpm: races with chown/chmod/capabilities calls during installation

Published Aug 25, 2022 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
Description
A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. A local unprivileged user could use this flaw to exchange the original file with a symbolic link to a security-critical file and escalate their privileges on the system. 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-22573 A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. A local unprivileged user could use this flaw to exchange the original file with a symbolic link to a security-critical file and escalate their privileges on the system. 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.00081}

epss

{'score': 0.00083}

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 25, 2022, 8:15 PM
Modified
Jun 17, 2026, 3:57 AM
Severity
Moderate
Public date
Jun 30, 2021, 12:00 AM