UBUNTU-CVE-2022-28738

Source
https://ubuntu.com/security/CVE-2022-28738
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-28738.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-28738
Related
Published
2022-05-09T18:15:00Z
Modified
2022-05-09T18:15:00Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS / ruby3.0

Package

Name
ruby3.0
Purl
pkg:deb/ubuntu/ruby3.0?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.2-7ubuntu2.1

Affected versions

3.*

3.0.2-5ubuntu1
3.0.2-7
3.0.2-7ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.0.2-7ubuntu2.1",
            "binary_name": "libruby3.0"
        },
        {
            "binary_version": "3.0.2-7ubuntu2.1",
            "binary_name": "libruby3.0-dbgsym"
        },
        {
            "binary_version": "3.0.2-7ubuntu2.1",
            "binary_name": "ruby3.0"
        },
        {
            "binary_version": "3.0.2-7ubuntu2.1",
            "binary_name": "ruby3.0-dbgsym"
        },
        {
            "binary_version": "3.0.2-7ubuntu2.1",
            "binary_name": "ruby3.0-dev"
        },
        {
            "binary_version": "3.0.2-7ubuntu2.1",
            "binary_name": "ruby3.0-doc"
        }
    ]
}