UBUNTU-CVE-2022-28738

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-28738

    UBUNTU-CVE-2022-28738

    Published: 9 May 2022Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    Details: A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.

    Affected packages

    Package

    Name: ruby3.0

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=jammy

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.0.2-7ubuntu2.1

    Affected versions

    3.0.2-5ubuntu1
    3.0.2-7
    3.0.2-7ubuntu2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2022-28738 | CVE-DB