Out-of-bounds Read Affecting ruby:2.5/rubygem-power_assert package, versions <0:1.1.1-112.module+el8.10.0+22021+135c76a8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

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-RHEL8-RUBY-6682094
  • published27 Apr 2024
  • disclosed23 Apr 2024

Introduced: 23 Apr 2024

CVE-2024-27282  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade RHEL:8 ruby:2.5/rubygem-power_assert to version 0:1.1.1-112.module+el8.10.0+22021+135c76a8 or higher.
This issue was patched in RHSA-2024:4499.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby:2.5/rubygem-power_assert package and not the ruby:2.5/rubygem-power_assert package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

An issue was discovered in Ruby 3.x through 3.3.0. If attacker-supplied data is provided to the Ruby regex compiler, it is possible to extract arbitrary heap data relative to the start of the text, including pointers and sensitive strings. The fixed versions are 3.0.7, 3.1.5, 3.2.4, and 3.3.1.

CVSS Scores

version 3.1