VDB

ALPINE-CVE-2024-27280

ALPINE-CVE-2024-27280 PUBLISHED CVSS 9.800000190734863 CRITICAL

A buffer-overread issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and a subsequent call to StringIO.gets may return the memory value. 3.0.3 is the main fixed version; however, for Ruby 3.0 users, a fixed version is stringio 3.0.1.1, and for Ruby 3.1 users, a fixed version is stringio 3.0.1.2.

Risk Scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.20ruby0, 0, 0
Alpine:v3.21ruby0, 0, 0
Alpine:v3.19ruby2.0.0_p247-r2, 2.5.3-r0, 2.5.2-r0
Alpine:v3.24ruby0
Alpine:v3.17ruby2.6.3-r2, 2.6.3-r1, 2.6.3-r0
Alpine:v3.22ruby0, 0, 0
Alpine:v3.23ruby0, 0, 0
Alpine:v3.18ruby2.2.2-r1, 2.5.1-r2, 2.5.1-r1
Alpine:v3.16ruby2.6.3-r2, 2.6.3-r1, 2.6.3-r0

Timeline

  • May 14, 2024 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jun 15, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›