Link Following Affecting rpm-libs package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.05% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-RPMLIBS-1984397
  • published26 Jul 2021
  • disclosed3 Jul 2017

Introduced: 3 Jul 2017

CVE-2017-7500  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 rpm-libs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rpm-libs package and not the rpm-libs package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.