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

VectorAV: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

Weakness Enumeration

Related Identifiers

ALSA-2022:6447
ALSA-2022:6450
ALSA-2022:6585
ALSA-2023:7025
ALT-PU-2022-2026
ALT-PU-2022-2699
ALT-PU-2022-2953
ALT-PU-2023-4264
ALT-PU-2024-7811
BDU:2022-03067
BIT-RUBY-2022-28739
BIT-RUBY-MIN-2022-28739
CESA-2022_5338
CESA-2022_6447
CESA-2022_6450
CESA-2023_7025
CVE-2022-28739
DLA-3450-1
DLA-3858-1
MGASA-2022-0143
OESA-2022-1700
OPENSUSE-SU-2022_1512-1
OPENSUSE-SU-2024:12006-1
OPENSUSE-SU-2024:12712-1
OPENSUSE-SU-2024:13623-1
OPENSUSE-SU-2025:14621-1
OPENSUSE-SU-2025:15819-1
RHSA-2022:5338
RHSA-2022:6447
RHSA-2022:6450
RHSA-2022:6585
RHSA-2022:6855
RHSA-2022:6856
RHSA-2022_5338
RHSA-2022_6447
RHSA-2022_6450
RHSA-2022_6585
RHSA-2023:7025
RHSA-2023_7025
RHSA-2026:7305
RHSA-2026:7307
RHSA-2026:8838
RLSA-2022:5338
RLSA-2022:6447
RLSA-2022:6450
RLSA-2022:6585
SUSE-SU-2022:1512-1
SUSE-SU-2022_1512-1
USN-5462-1
USN-5462-2

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Apple Macos
Red Hat
Red Os
Rocky Linux
Ruby
Suse
Ubuntu