CVE-2022-28739

Name
CVE-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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://hackerone.com/reports/1248108
MISC https://security-tracker.debian.org/tracker/CVE-2022-28739
CONFIRM https://www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/
Third Party Advisory https://security.netapp.com/advisory/ntap-20220624-0002/
Third Party Advisory https://support.apple.com/kb/HT213493
Third Party Advisory https://support.apple.com/kb/HT213494
Third Party Advisory https://support.apple.com/kb/HT213488
Mailing List http://seclists.org/fulldisclosure/2022/Oct/41

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= 3.1.0 < 3.1.2
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= 3.0.0 < 3.0.4
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= 2.7.0 < 2.7.6
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= None < 2.6.10

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
ruby 3.13-main 2.7.6-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
ruby 3.12-main 2.7.6-r0 Natanael Copa <ncopa@alpinelinux.org> fixed