7.3high

CVE-2017-7500

It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changi…

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.3
v3.0 · CNA
CISA KEV
No
not known exploited
EPSS
0.4%
percentile 36%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

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

CVSS scores

Assigned byVersionScoreVector
CNA3.07.3CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CNA3.07.3CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.07.2AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected products

  • [UNKNOWN] rpm

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

  • github.com /rpm-software-management/rpm/commit/c815822c8bdb138066ff58c624ae83e3a12ebfa9 · x_refsource_CONFIRM, x_transferred
  • github.com /rpm-software-management/rpm/commit/f2d3be2a8741234faaa96f5fd05fdfdc75779a79 · x_refsource_CONFIRM, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=CVE-2017-7500 · x_refsource_CONFIRM, 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.