CVE-2024-27280
ruby3.1 - security update
9.8
CRITICAL
CVSS 3.1
EPSS 8.8%
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 fixed version is stringio 3.0.1.2.
How to fix CVE-2024-27280
To remediate CVE-2024-27280, upgrade the affected package to a fixed version below.
- —upgrade to 3.1.5-r0 or later
- —upgrade to 2.7.4-1+deb11u2 or later
- —upgrade to 3.1.2-7+deb12u1 or later
- —upgrade to 3.1.2-7+deb12u1 or later
- —upgrade to 3.0.1.1 or later
Is CVE-2024-27280 being exploited?
Moderate — EPSS is 8.8%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (5)
- from 0, < 3.1.5-r0
- from 0, < 2.7.4-1+deb11u2
- from 0, < 3.1.2-7+deb12u1
- from 0, < 3.1.2-7+deb12u1
- from 0, < 3.0.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |