CVE-2017-7501
It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2017-7501- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 4.6 Medium
AV:L/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-59
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-7501- Weakness
- CWE-59
- Updated
- 2026-11-02
EUVDEUVD-2017-16518 No score
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.
- Record
EUVD-2017-16518- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-3xgr-x5gv-64gh
7.8
It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when...
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.
- Record
GHSA-3xgr-x5gv-64gh- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-59
- Updated
- 2026-11-02
OSVBELL-CVE-2017-7501
7.8
CVE-2017-7501 does not affect BellSoft software
- Record
BELL-CVE-2017-7501- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2017-7501- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2017-7501
7.8
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.
- Record
DEBIAN-CVE-2017-7501- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-7501
7.8
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.
- Record
UBUNTU-CVE-2017-7501- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0394 No score
Updated rpm package fixes security vulnerabilities
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 (CVE-2017-7500).
It was found that rpm uses 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 (CVE-2017-7501)
- Record
MGASA-2017-0394- Updated
- 2026-11-02
OSVSUSE-SU-2018:3286-1 No score
Security update for rpm
This update for rpm fixes the following issues:
These security issues were fixed:
- CVE-2017-7500: 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 (bsc#943457).
- CVE-2017-7501: rpm used 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 (bsc#943457)
This non-security issue was fixed:
- Use ksym-provides tool [bsc#1077692]
- Record
SUSE-SU-2018:3286-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3884-1 No score
Security update for rpm
This update for rpm fixes the following issues:
These security issues were fixed:
- CVE-2017-7500: 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 (bsc#943457).
- CVE-2017-7501: rpm used 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 (bsc#943457)
This is a reissue of the above security fixes for SUSE Linux Enterprise 12 GA, SP1 and SP2 LTSS, they have already been released for SUSE Linux Enterprise Server 12 SP3.
- Record
SUSE-SU-2018:3884-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3884-2 No score
Security update for rpm
This update for rpm fixes the following issues:
These security issues were fixed:
- CVE-2017-7500: 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 (bsc#943457).
- CVE-2017-7501: rpm used 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 (bsc#943457)
This is a reissue of the above security fixes for SUSE Linux Enterprise 12 GA, SP1 and SP2 LTSS, they have already been released for SUSE Linux Enterprise Server 12 SP3.
- Record
SUSE-SU-2018:3884-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rpmDebian:12 |
All versions, plus listed versions 4.18.0+dfsg-14.18.0+dfsg-1+deb12u14.18.2+dfsg-14.18.2+dfsg-1.1~exp14.18.2+dfsg-2 Show 15 moreShow less4.18.2+dfsg-2.14.18.2+dfsg-2.1~exp14.19.1.1+dfsg-14.19.1.1+dfsg-1~exp4.20.0+dfsg-14.20.0+dfsg-24.20.0+dfsg-34.20.0+dfsg-44.20.1+dfsg-14.20.1+dfsg-24.20.1+dfsg-36.0.0-16.0.0-26.0.1-16.1.0-1 |
None known |
rpmDebian:13 |
All versions, plus listed versions 4.20.1+dfsg-36.0.0-16.0.0-26.0.1-16.1.0-1 |
None known |
rpmDebian:14 |
All versions, plus listed versions 4.20.1+dfsg-36.0.0-16.0.0-26.0.1-16.1.0-1 |
None known |
rpmMageia:6 |
before 4.13.0.2-3.1.mga6 | 4.13.0.2-3.1.mga6 |
rpmSUSE:Linux Enterprise Desktop 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
rpm-pythonSUSE:Linux Enterprise Desktop 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
rpmSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
python3-rpmSUSE:Linux Enterprise Server 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
rpmSUSE:Linux Enterprise Server 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
rpm-pythonSUSE:Linux Enterprise Server 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python3-rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
rpm-pythonSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.11.2-16.16.1 | 4.11.2-16.16.1 |
python3-rpmSUSE:OpenStack Cloud 7 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:OpenStack Cloud 7 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:OpenStack Cloud 7 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Desktop 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Desktop 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Desktop 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Desktop 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Desktop 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Software Development Kit 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server 12-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server 12-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server 12-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server 12 SP1-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server 12 SP1-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server 12 SP1-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server 12 SP2-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server 12 SP2-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server 12 SP2-LTSS |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server 12 SP2-BCL |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server 12 SP2-BCL |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server 12 SP2-BCL |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Enterprise Storage 4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Enterprise Storage 4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Enterprise Storage 4 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
python3-rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpm-pythonSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 4.11.2-16.21.1 | 4.11.2-16.21.1 |
rpmUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 4.11.1-24.11.1-34.11.1-3ubuntu0.14.11.1-3ubuntu0.1+esm1 |
None known |
rpmUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 4.12.0.1+dfsg1-3build24.12.0.1+dfsg1-3build34.12.0.1+dfsg1-3ubuntu0.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-7501 is a high vulnerability (CVSS 7.8) in Red Hat, Inc. Rpm, published October 30, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 33rd percentile. Fixed in rpm 4.13.0.2-3.1.mga6.
References
security.gentoo.org/glsa/201811-22
github.com/rpm-software-management/rpm/commit/404ef011c300207cdb1e531670384564aae04bdc
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2017-7501
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
Show 18 moreShow less
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
github.com/advisories/GHSA-3xgr-x5gv-64gh
docs.bell-sw.com/security/cves/CVE-2017-7501
security-tracker.debian.org/tracker/CVE-2017-7501
advisories.mageia.org/MGASA-2017-0394.html
bugs.mageia.org/show_bug.cgi?id=21942
rpm.org/wiki/Releases/4.13.0.2
bugzilla.redhat.com/show_bug.cgi?id=1450369
bugzilla.redhat.com/show_bug.cgi?id=1452133
suse.com/support/update/announcement/2018/suse-su-20183286-1
bugzilla.suse.com/1077692
bugzilla.suse.com/943457
suse.com/security/cve/CVE-2017-7500
suse.com/security/cve/CVE-2017-7501
suse.com/support/update/announcement/2018/suse-su-20183884-1
suse.com/support/update/announcement/2018/suse-su-20183884-2
ubuntu.com/security/CVE-2017-7501
cve.org/CVERecord?id=CVE-2017-7501