CVE-2022-28739
7.5high
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.
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 4.53% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-RUBY-2022-28739BIT-RUBY-MIN-2022-28739
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ruby-lang ruby | before 2.6.10, from 2.7.0 before 2.7.6, from 3.0.0 before 3.0.4, from 3.1.0 before 3.1.2 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
| apple macos | from 11.0 before 11.7.1, from 12.0 before 12.6.1 | NVD |
| ruby (Bitnami) | before 2.6.10, from 2.7.0 before 2.7.6, from 3.0.0 before 3.0.4, from 3.1.0 before 3.1.2 | Bitnami Vulnerability Database |
| ruby-min (Bitnami) | before 2.6.10, from 2.7.0 before 2.7.6, from 3.0.0 before 3.0.4, from 3.1.0 before 3.1.2 | Bitnami Vulnerability Database |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
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
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-28739 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2022-28739 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-RUBY-2022-28739 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-RUBY-MIN-2022-28739 changed 2026-09-08 | Apache-2.0 |