NA

CVE-2024-27280

Published: 14/05/2024 Updated: 14/05/2024

Vulnerability Summary

A buffer-overread issue exists in StringIO 3.0.1, as distributed in Ruby 3.0.x up to and including 3.0.6 and 3.1.x up to and including 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.

Vendor Advisories

Debian Bug report logs - #1069966 ruby31: CVE-2024-27280: Buffer overread vulnerability in StringIO Package: src:ruby31; Maintainer for src:ruby31 is Debian Ruby Team <pkg-ruby-extras-maintainers@listsaliothdebianorg>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Sat, 27 Apr 2024 20:21:02 UTC Sev ...