Original 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 software
- Ruby ≥ 2.7.0 < 2.7.6≥ 3.0.0 < 3.0.4< 2.6.10≥ 3.1.0 < 3.1.2 Fixed in: 2.7.6, 3.0.4, 2.6.10, 3.1.2 exact match
Details
- Published
- 2022-05-09
- Last modified
- 2025-11-05
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- EPSS (30-day exploit probability)
- 4.37% (percentile 91)
References
- cve.org/CVE-2022-28739
- nvd.nist.gov/vuln/detail/CVE-2022-28739
- hackerone.com/reports/1248108
- security-tracker.debian.org/tracker/CVE-2022-28739
- www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/
- security.netapp.com/advisory/ntap-20220624-0002/
- support.apple.com/kb/HT213488
- support.apple.com/kb/HT213494
- support.apple.com/kb/HT213493
- seclists.org/fulldisclosure/2022/Oct/41
- seclists.org/fulldisclosure/2022/Oct/28
- seclists.org/fulldisclosure/2022/Oct/30
- seclists.org/fulldisclosure/2022/Oct/29
- seclists.org/fulldisclosure/2022/Oct/42
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.