{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-27280","id":"CVE-2024-27280","title":"StringIO buffer overread vulnerability","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","descriptionLong":"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-08T20:51:20.388Z","updated":"2026-06-17T07:19:33.770Z","reserved":"2024-02-22T00:00:00.000Z","status":"Deferred","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"stringio","purl":"pkg:gem/stringio","ranges":["<3.0.1.1"],"fixed":["3.0.1.1"],"advisory":"GHSA-v5h6-c2hv-hv3r"}],"cwes":["CWE-120","CWE-126"],"aliases":["GHSA-v5h6-c2hv-hv3r"],"references":[{"url":"https://hackerone.com/reports/1399856","tags":["x_transferred","web"]},{"url":"https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/","tags":["x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20250502-0003/","tags":["advisory"]},{"url":"http://seclists.org/fulldisclosure/2025/Sep/55","tags":["web"]},{"url":"http://seclists.org/fulldisclosure/2025/Sep/54","tags":["web"]},{"url":"http://seclists.org/fulldisclosure/2025/Sep/53","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XYDHPHEZI7OQXTQKTDZHGZNPIJH7ZV5N/","tags":[]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27280","tags":["advisory"]},{"url":"https://github.com/ruby/stringio/commit/0e596524097706263d10900ca180898e4a8f5233","tags":["web"]},{"url":"https://github.com/ruby/stringio/commit/c58c5f54f1eab99665ea6a161d29ff6a7490afc8","tags":["web"]},{"url":"https://github.com/ruby/stringio","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/stringio/CVE-2024-27280.yml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XYDHPHEZI7OQXTQKTDZHGZNPIJH7ZV5N","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20250502-0003","tags":["web"]},{"url":"https://www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.02364,"epssPercentile":0.84149,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-27280","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27280","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-27280","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v5h6-c2hv-hv3r","ok":true,"note":"GHSA-v5h6-c2hv-hv3r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-27280","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}