CVE-2017-7500: rpm Link Following
Vulnerability summary
CVE-2017-7500 is a high (CVSS 7.8) Link Following vulnerability in rpm. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 13-08-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA7.3HighCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
0.00 pp
From 0.41% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse3 products
- python-rpm&distro=SUSE Linux Enterprise Module for Basesystem 15< 4.14.1-10.3.1
- rpm&distro=SUSE Linux Enterprise Module for Basesystem 15< 4.14.1-10.3.1
- rpm&distro=SUSE Linux Enterprise Module for Development Tools 15< 4.14.1-10.3.1
[unknown]1 product
- rpm4.13.0.2 | 4.14.0
Debian1 product
- rpmAll versions (No fix recorded)
Rpm1 product
- rpm≥ 4.13.0.0, < 4.13.0.2 | 4.14.0.0:rc1 | 4.14.0.0:rc2
Ubuntu1 product
- rpmAll versions (No fix recorded)
5 vendors · 7 products
References
12 links- github.com/rpm-software-management/rpm/commit/c815822c8bdb138066ff58c624ae83e3a12ebfa9X Refsource CONFIRMThird Party Advisory
- github.com/rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79X Refsource CONFIRMThird Party Advisory
- bugzilla.suse.com/943457REPORT