Double Free Affecting rubygem-bundler package, versions <0:2.2.33-160.el9_0


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.5% (78th 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 Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-RUBYGEMBUNDLER-5635334
  • published28 May 2023
  • disclosed20 Sept 2022

Introduced: 20 Sep 2022

CVE-2022-28738  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 rubygem-bundler to version 0:2.2.33-160.el9_0 or higher.
This issue was patched in ALSA-2022:6585.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-bundler package and not the rubygem-bundler package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.

CVSS Scores

version 3.1