QID 356174

Date Published: 2023-09-28

QID 356174: Amazon Linux Security Advisory for ruby : ALASRUBY3.0-2023-002

A double-free vulnerability was found in ruby.
The issue occurs during regexp compilation.
This flaw allows an attacker to create a regexp object with a crafted source string that could cause the same memory to be freed twice. (
( CVE-2022-28738) a buffer overrun vulnerability was found in ruby.
The issue occurs in a conversion algorithm from a string to a float that causes process termination due to a segmentation fault, but under limited circumstances.
This flaw may cause an illegal memory read. (
( CVE-2022-28739)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Please refer to Amazon advisory: ALASRUBY3.0-2023-002 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356174

    Software Advisories
    Advisory ID Software Component Link
    ALASRUBY3.0-2023-002 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASRUBY3.0-2023-002.html