VYPR
Critical severity9.8GHSA Advisory· Published May 14, 2024· Updated Apr 15, 2026

CVE-2024-27280

CVE-2024-27280

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
stringioRubyGems
< 3.0.1.13.0.1.1

Affected products

62

Patches

Vulnerability mechanics

References

18

News mentions

0

No linked articles in our index yet.