CVEvulnerability
CVE-2022-28739
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-05-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- 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 configurations
• ruby-lang ruby (< 2.6.10)
• ruby-lang ruby (>= 2.7.0 < 2.7.6)
• ruby-lang ruby (>= 3.0.0 < 3.0.4)
• ruby-lang ruby (>= 3.1.0 < 3.1.2)
• debian debian linux 9.0
• debian debian linux 10.0
• debian debian linux 11.0
• apple macos (>= 11.0 < 11.7.1)
• apple macos (>= 12.0 < 12.6.1)
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- http://seclists.org/fulldisclosure/2022/Oct/28 seclists.org
- http://seclists.org/fulldisclosure/2022/Oct/29 seclists.org
- http://seclists.org/fulldisclosure/2022/Oct/30 seclists.org
- http://seclists.org/fulldisclosure/2022/Oct/41 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/42 seclists.org
- https://hackerone.com/reports/1248108 Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html lists.debian.org
- https://security-tracker.debian.org/tracker/CVE-2022-28739 Third Party Advisory
- https://security.gentoo.org/glsa/202401-27 security.gentoo.org
- 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
- https://www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/ Vendor Advisory
- http://seclists.org/fulldisclosure/2022/Oct/28 seclists.org
- http://seclists.org/fulldisclosure/2022/Oct/29 seclists.org
- http://seclists.org/fulldisclosure/2022/Oct/30 seclists.org
- http://seclists.org/fulldisclosure/2022/Oct/41 Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Oct/42 seclists.org
- https://hackerone.com/reports/1248108 Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/06/msg00012.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html lists.debian.org
- https://security-tracker.debian.org/tracker/CVE-2022-28739 Third Party Advisory
- https://security.gentoo.org/glsa/202401-27 security.gentoo.org
- 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
- https://www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/ Vendor Advisory