CVE-2022-28739
HIGH7.5EPSS 0.31%Published: 5/9/2022Modified: 4/28/2026
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 packages (4)
- Alpine/rubyfrom 0, < 2.7.6-r0
- Bitnami/rubyfrom 0, < 2.6.10, >= 2.7.0, < 2.7.6, >= 3.0.0, < 3.0.4, >= 3.1.0, < 3.1.2
- Bitnami/ruby-minfrom 0, < 2.6.10, >= 2.7.0, < 2.7.6, >= 3.0.0, < 3.0.4, >= 3.1.0, < 3.1.2
- Debian/ruby2.7from 0, < 2.7.4-1+deb11u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (17)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-28739
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-28739
- WEBhttp://seclists.org/fulldisclosure/2022/Oct/28
- WEBhttp://seclists.org/fulldisclosure/2022/Oct/29
- WEBhttp://seclists.org/fulldisclosure/2022/Oct/30
- WEBhttp://seclists.org/fulldisclosure/2022/Oct/41
- WEBhttp://seclists.org/fulldisclosure/2022/Oct/42
- WEBhttps://hackerone.com/reports/1248108
- WEBhttps://lists.debian.org/debian-lts-announce/2023/06/msg00012.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-28739
- WEBhttps://security.gentoo.org/glsa/202401-27
- WEBhttps://security.netapp.com/advisory/ntap-20220624-0002/
- WEBhttps://support.apple.com/kb/HT213488
- WEBhttps://support.apple.com/kb/HT213493
- WEBhttps://support.apple.com/kb/HT213494
- WEBhttps://www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/