CVE-2022-28739

Public on 2022-05-09
Modified on 2024-01-12
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.
Severity
Medium severity
Medium
CVSS v3 Base Score
6.2
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core ruby 2022-09-30 ALAS2-2022-1853 Fixed
Amazon Linux 2 - Ruby2.6 Extra ruby 2023-08-07 ALAS2RUBY2.6-2023-001 Fixed
Amazon Linux 2 - Ruby3.0 Extra ruby 2023-08-21 ALAS2RUBY3.0-2023-002 Fixed
Amazon Linux 2023 ruby Not Affected
Amazon Linux 1 ruby20 2022-10-03 ALAS-2022-1638 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD CVSSv2 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N