Buffer overflow in N/a
CVE-2024-27280
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.024 · 84.1th percentile
- Published
- 2024-05-14
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.024, 84.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (lifeparticle/Ruby-Cheatsheet). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/1399856
- www.ruby-lang.org/en/news/2024/03/21/buffer-overread-cve-2024-27280/
- seclists.org/fulldisclosure/2025/Sep/53
- seclists.org/fulldisclosure/2025/Sep/54
- seclists.org/fulldisclosure/2025/Sep/55
- lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- security.netapp.com/advisory/ntap-20250502-0003/