PT-2022-2609 · Ruby+11 · Ruby+11
Piao
·
Published
2022-04-12
·
Updated
2025-12-12
·
CVE-2022-28739
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Ruby versions 2.6.0 through 2.6.9
Ruby versions 2.7.x through 2.7.5
Ruby versions 3.0.0 through 3.0.3
Ruby versions 3.1.0 through 3.1.1
Description
The issue is related to a buffer over-read in Ruby, specifically in String-to-Float conversion, including
Kernel#Float and String#to f. This can potentially allow a remote attacker to cause a denial of service. The vulnerability occurs due to a memory corruption issue.Recommendations
For Ruby versions 2.6.0 through 2.6.9, update to version 2.6.10 or later.
For Ruby versions 2.7.x through 2.7.5, update to version 2.7.6 or later.
For Ruby versions 3.0.0 through 3.0.3, update to version 3.0.4 or later.
For Ruby versions 3.1.0 through 3.1.1, update to version 3.1.2 or later.
Exploit
Fix
DoS
Out of bounds Read
Buffer Overflow
Incorrect Type Conversion or Cast
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Apple Macos
Red Hat
Red Os
Rocky Linux
Ruby
Suse
Ubuntu