rpm: Following symlinks to files when installing packages allows privilege escalation
Published Nov 22, 2017
7.8
HIGHCVSS 3.0
EPSS 0.39%
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.
Affected products
-
- Version before 4.13.0.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat, Inc. | Rpm | n/a |
|
No data.
Red Hat Enterprise Linux 5
rpm
Will not fix
Red Hat Enterprise Linux 6
rpm
Will not fix
Red Hat Enterprise Linux 7
rpm
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | rpm | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | rpm | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | rpm | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.39% (0.00392) | 30.89th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.39% (0.00392) | 33.18th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.06% (0.00059) | 25.56th | v3 (v2023.03.01) |
| May 25, 2024 | 0.06% (0.00059) | 24.81th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00059) | 22.80th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.29% (0.01294) | 30.79th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.78% (0.00777) | 0.00th | v1 |
References (8)
- https://access.redhat.com/security/cve/CVE-2017-7501 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1452133 Issue Tracking
- https://github.com/rpm-software-management/rpm/commit/404ef011c300207cdb1e531670384564aae04bdc x_refsource_MISCIssue TrackingPatch
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-7501
- https://security.gentoo.org/glsa/201811-22 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2017-7501
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-7501 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1452133 | Issue Tracking | |
| https://github.com/rpm-software-management/rpm/commit/404ef011c300207cdb1e531670384564aae04bdc | x_refsource_MISCIssue TrackingPatch | |
| https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E | mailing-listx_refsource_MLIST | |
| https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-7501 | ||
| https://security.gentoo.org/glsa/201811-22 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2017-7501 |
Change history (0)
No recorded changes yet.