What’s Vulnerable › Vulnerabilities
CVE-2022-28739
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-05-09 · updated 2026-06-17
- Weakness: CWE-125
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 products
- Apple macOS: from 11.0 before 11.7.1; from 12.0 before 12.6.1 — fixed in 11.7.1, 12.6.1
- Debian Linux: 9.0, 10.0, 11.0
- 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 — fixed in 2.6.10, 2.7.6, 3.0.4, 3.1.2
How to fix
Upgrade to a fixed version: Apple macOS 11.7.1, 12.6.1; Ruby 2.6.10, 2.7.6, 3.0.4, 3.1.2. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2022/Oct/28
- http://seclists.org/fulldisclosure/2022/Oct/29
- http://seclists.org/fulldisclosure/2022/Oct/30
- http://seclists.org/fulldisclosure/2022/Oct/41
- http://seclists.org/fulldisclosure/2022/Oct/42
- https://hackerone.com/reports/1248108
- https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html
- https://security-tracker.debian.org/tracker/CVE-2022-28739
- https://security.gentoo.org/glsa/202401-27
- https://security.netapp.com/advisory/ntap-20220624-0002/
- https://support.apple.com/kb/HT213488
- https://support.apple.com/kb/HT213493
Get alerted when CVE-2022-28739 or the next vulnerability affects your stack