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.
Metrics
Affected Vendors & Products
References
History
Fri, 02 May 2025 23:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Thu, 13 Feb 2025 16:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Ruby-lang
Ruby-lang ruby |
|
CPEs | cpe:2.3:a:ruby-lang:ruby:-:*:*:*:*:*:*:* | |
Vendors & Products |
Ruby-lang
Ruby-lang ruby |
|
Metrics |
ssvc
|

Status: PUBLISHED
Assigner: mitre
Published: 2024-05-08T20:51:20.388Z
Updated: 2025-05-02T23:02:57.276Z
Reserved: 2024-02-22T00:00:00.000Z
Link: CVE-2024-27280

Updated: 2025-05-02T23:02:57.276Z

Status : Awaiting Analysis
Published: 2024-05-14T15:11:56.940
Modified: 2025-05-02T23:15:15.347
Link: CVE-2024-27280
