7.8high

CVE-2017-7501

It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM.

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.4%
percentile 34%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

0.39% probability of exploitation in the next 30 days, higher than 34% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.04.6AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected products

  • Red Hat, Inc. rpm

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

  • security.gentoo.org /glsa/201811-22 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • github.com /rpm-software-management/rpm/commit/404ef011c300207cdb1e531670384564aae04bdc · x_refsource_MISC, x_transferred
  • lists.apache.org /thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkee · mailing-list, x_refsource_MLIST, x_transferred
  • lists.apache.org /thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkee · mailing-list, x_refsource_MLIST, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.