{"id":"CVE-2024-27280","aliases":["GHSA-v5h6-c2hv-hv3r"],"url":"https://o3.security/vulnerability/CVE-2024-27280","summary":"StringIO buffer overread vulnerability","details":"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.","published":"2024-05-14T15:11:56Z","modified":"2026-04-16T04:32:16.979688065Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"stringio","fixedVersion":"3.0.1.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20250502-0003/"},{"type":"WEB","url":"https://hackerone.com/reports/1399856"},{"type":"WEB","url":"https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T04:32:16.979688065Z"}}