CVE-2017-7501

rpm: Following symlinks to files when installing packages allows privilege escalation

Published Nov 22, 2017 CVSS 3.0 · 7.8 High EPSS < 1% KEV · Not listed
Description
It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM. An attacker with ability to write in a directory where files will be installed could create symbolic links to an arbitrary location and modify content, and possibly permissions to arbitrary files, which could be used for denial of service or possibly privilege escalation.

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-2017-16518 It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM. An attacker with ability to write in a directory where files will be installed could create symbolic links to an arbitrary location and modify content, and possibly permissions to arbitrary files, which could be used for denial of service or possibly privilege escalation.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Sep 17, 2024, 12:02 AM
Reserved
Apr 5, 2017, 12:00 AM
Status
Modified
Published
Nov 22, 2017, 10:29 PM
Modified
Jun 17, 2026, 1:24 AM
Severity
Moderate
Public date
Jul 3, 2017, 12:00 AM