Uncontrolled Search Path Element Affecting ruby-debuginfo package, versions <0:2.6.7-107.module+el8.4.0+593+8d7f9f0c


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.21% (44th 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-ROCKY8-RUBYDEBUGINFO-3290671
  • published5 Jan 2023
  • disclosed4 Sept 2020

Introduced: 4 Sep 2020

CVE-2019-3881  (opens in a new tab)
CWE-427  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 ruby-debuginfo to version 0:2.6.7-107.module+el8.4.0+593+8d7f9f0c or higher.
This issue was patched in RLSA-2021:2588.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-debuginfo package and not the ruby-debuginfo package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations under the user's home directory are not available. If Bundler is used in a scenario where the user does not have a writable home directory, an attacker could place malicious code in this directory that would be later loaded and executed.

CVSS Base Scores

version 3.1