CVE-2022-28739
ruby: Buffer overrun in String-to-Float conversion
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.
Se presenta una lectura excesiva del búfer en Ruby versiones anteriores a 2.6.10, 2.7.x versiones anteriores a 2.7.6, 3.x versiones anteriores a 3.0.4 y 3.1.x versiones anteriores a 3.1.2. Es producida en la conversión String-to-Float, incluyendo Kernel#Float y String#to_f
A buffer overrun vulnerability was found in Ruby. The issue occurs in a conversion algorithm from a String to a Float that causes process termination due to a segmentation fault, but under limited circumstances. This flaw may cause an illegal memory read.
An update that fixes 5 vulnerabilities is now available. This update for ruby2.5 fixes the following issues. Fixed a buffer overrun in String-to-Float conversion. Fixed a regular expression denial of service in Date Parsing Methods. Fixed a StartTLS stripping vulnerability in Net:IMAP. Fixed a trusting FTP PASV responses vulnerability in Net:FTP. Fixed a command injection vulnerability in RDoc.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-04-06 CVE Reserved
- 2022-05-03 CVE Published
- 2025-02-13 CVE Updated
- 2025-08-04 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-125: Out-of-bounds Read
CAPEC
References (15)
URL | Tag | Source |
---|---|---|
http://seclists.org/fulldisclosure/2022/Oct/28 | Mailing List |
|
http://seclists.org/fulldisclosure/2022/Oct/29 | Mailing List |
|
http://seclists.org/fulldisclosure/2022/Oct/30 | Mailing List |
|
http://seclists.org/fulldisclosure/2022/Oct/41 | Mailing List |
|
http://seclists.org/fulldisclosure/2022/Oct/42 | Mailing List |
|
https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html |
|
|
https://security-tracker.debian.org/tracker/CVE-2022-28739 | Third Party Advisory | |
https://security.gentoo.org/glsa/202401-27 |
|
|
https://security.netapp.com/advisory/ntap-20220624-0002 | Third Party Advisory |
|
https://support.apple.com/kb/HT213488 | Third Party Advisory |
|
https://support.apple.com/kb/HT213493 | Third Party Advisory |
|
https://support.apple.com/kb/HT213494 | Third Party Advisory |
|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | < 2.6.10 Search vendor "Ruby-lang" for product "Ruby" and version " < 2.6.10" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | >= 2.7.0 < 2.7.6 Search vendor "Ruby-lang" for product "Ruby" and version " >= 2.7.0 < 2.7.6" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | >= 3.0.0 < 3.0.4 Search vendor "Ruby-lang" for product "Ruby" and version " >= 3.0.0 < 3.0.4" | - |
Affected
| ||||||
Ruby-lang Search vendor "Ruby-lang" | Ruby Search vendor "Ruby-lang" for product "Ruby" | >= 3.1.0 < 3.1.2 Search vendor "Ruby-lang" for product "Ruby" and version " >= 3.1.0 < 3.1.2" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 9.0 Search vendor "Debian" for product "Debian Linux" and version "9.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 11.0 Search vendor "Debian" for product "Debian Linux" and version "11.0" | - |
Affected
| ||||||
Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | >= 11.0 < 11.7.1 Search vendor "Apple" for product "Macos" and version " >= 11.0 < 11.7.1" | - |
Affected
| ||||||
Apple Search vendor "Apple" | Macos Search vendor "Apple" for product "Macos" | >= 12.0 < 12.6.1 Search vendor "Apple" for product "Macos" and version " >= 12.0 < 12.6.1" | - |
Affected
|