CVE-2024-27280

EUVD-2024-1008
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.
Classic Buffer Overflow
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADPADP
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 91%
Debian logo
Debian Releases
Debian Product
Codename
ruby2.7
bullseye
vulnerable
bullseye (security)
2.7.4-1+deb11u5
fixed
ruby3.1
bookworm
3.1.2-7+deb12u1
fixed
bookworm (security)
3.1.2-7+deb12u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby2.3
focal
dne
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
xenial
needs-triage
ruby2.5
bionic
Fixed 2.5.1-1ubuntu1.16+esm5
released
focal
dne
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
ruby2.7
focal
Fixed 2.7.0-5ubuntu1.14
released
jammy
dne
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
ruby3.0
focal
dne
jammy
Fixed 3.0.2-7ubuntu2.7
released
mantic
dne
noble
dne
oracular
dne
plucky
dne
questing
dne
ruby3.1
focal
dne
jammy
dne
mantic
Fixed 3.1.2-7ubuntu3.3
released
noble
dne
oracular
dne
plucky
dne
questing
dne
ruby3.2
bionic
dne
focal
dne
jammy
dne
mantic
dne
noble
not-affected
oracular
dne
plucky
dne
questing
dne
trusty
dne
xenial
dne