Link Following Affecting rpm-software-management/rpm package, versions [,rpm-4.18.0-alpha1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd 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-UNMANAGED-RPMSOFTWAREMANAGEMENTRPM-2994379
  • published28 Aug 2022
  • disclosed28 Aug 2022
  • creditUnknown

Introduced: 28 Aug 2022

CVE-2021-35939  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade rpm-software-management/rpm to version rpm-4.18.0-alpha1 or higher.

Overview

Affected versions of this package are vulnerable to Link Following. It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created. A local unprivileged user who owns another ancestor directory could potentially use this flaw to gain root privileges.

CVSS Base Scores

version 3.1