CVE-2017-7500

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

Published Aug 13, 2018 CVSS 3.0 · 7.3 High EPSS < 1% KEV · Not listed
Description
It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changing ownership and permissions of an arbitrary directory, and RPM files being placed in an arbitrary destination. An attacker, with write access to a directory in which a subdirectory will be installed, could redirect that directory to an arbitrary location and gain root privilege.

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-16517 It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changing ownership and permissions of an arbitrary directory, and RPM files being placed in an arbitrary destination. An attacker, with write access to a directory in which a subdirectory will be installed, could redirect that directory to an arbitrary location and gain root privilege.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 4:04 PM
Reserved
Apr 5, 2017, 12:00 AM
Status
Modified
Published
Aug 13, 2018, 5:29 PM
Modified
Jun 17, 2026, 1:24 AM
Severity
Moderate
Public date
Jul 3, 2017, 12:00 AM