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 v3.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.7.4-r1, *, 3.0.3-r0
Alpine:v3.17ruby2.3.1-r0, *, 0
Alpine:v3.22ruby0, 0, 0
Alpine:v3.23ruby0, 0, 0
Alpine:v3.18ruby1.9.3_p392-r0, *, 1.8.7_p174-r1
Alpine:v3.16ruby*, 3.1.4-r0, 3.1.3-r0

Timeline

References

Open in Interactive Console →