CVE-2022-28739
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
ruby-lang rubybefore 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.2NVD
debian debian_linux9.0, 10.0, 11.0NVD
apple macosfrom 11.0 before 11.7.1, from 12.0 before 12.6.1NVD
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.2Bitnami 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.2Bitnami Vulnerability Database

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:N/A:N
Bitnami Vulnerability Databasehigh 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

https://hackerone.com/reports/1248108advisory, permissions-required, third-party-advisory
https://security-tracker.debian.org/tracker/CVE-2022-28739advisory, third-party-advisory
https://www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/advisory, vendor-advisory
https://security.netapp.com/advisory/ntap-20220624-0002/advisory, third-party-advisory
https://support.apple.com/kb/HT213488advisory, third-party-advisory
https://support.apple.com/kb/HT213494advisory, third-party-advisory
https://support.apple.com/kb/HT213493advisory, third-party-advisory
http://seclists.org/fulldisclosure/2022/Oct/41advisory, mailing-list, third-party-advisory
http://seclists.org/fulldisclosure/2022/Oct/28mailing-list, web
http://seclists.org/fulldisclosure/2022/Oct/30mailing-list, web
http://seclists.org/fulldisclosure/2022/Oct/29mailing-list, web
http://seclists.org/fulldisclosure/2022/Oct/42mailing-list, web

Sources

SourceRecordLicence
CVE ListCVE-2022-28739 changed 2025-11-04CVE Terms of Use
NVDCVE-2022-28739 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-RUBY-2022-28739 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-RUBY-MIN-2022-28739 changed 2026-09-08Apache-2.0