VDB

CVE-2024-27280

CVE-2024-27280 PUBLISHED CVSS 9.8 CRITICAL

StringIO buffer overread vulnerability

Reported by mitre · Published May 8, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ruby-3.1Wolfi3.1.4-r6

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
wolfiruby-3.10
n/an/a*
chainguardruby-3.00
RubyGemsstringio0
ruby-langruby3.0.3
alpineruby0, 0, 0
chainguardruby-3.10
wolfiruby-3.00

Timeline

  • Mar 20, 2024 CVE Published
  • Oct 4, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Feb 14, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (15 in total, the first dated here)
  • Oct 11, 2026 CVE Updated
  • Nov 16, 2026 Distribution Patch (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-27280
vulnetix vdb fixes CVE-2024-27280

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-27280/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›