USN-7091-1

Source
https://ubuntu.com/security/notices/USN-7091-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7091-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7091-1
Related
Published
2024-11-05T03:39:06.233675Z
Modified
2024-11-05T03:39:06.233675Z
Summary
ruby3.0, ruby3.2, ruby3.3 vulnerabilities
Details

It was discovered that Ruby incorrectly handled parsing of an XML document that has specific XML characters in an attribute value using REXML gem. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service. This issue only affected in Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-35176, CVE-2024-39908, CVE-2024-41123)

It was discovered that Ruby incorrectly handled parsing of an XML document that has many entity expansions with SAX2 or pull parser API. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service. (CVE-2024-41946)

It was discovered that Ruby incorrectly handled parsing of an XML document that has many digits in a hex numeric character reference. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service. (CVE-2024-49761)

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.8

Affected versions

3.*

3.0.2-5ubuntu1
3.0.2-7
3.0.2-7ubuntu2
3.0.2-7ubuntu2.1
3.0.2-7ubuntu2.2
3.0.2-7ubuntu2.3
3.0.2-7ubuntu2.4
3.0.2-7ubuntu2.5
3.0.2-7ubuntu2.6
3.0.2-7ubuntu2.7

Ecosystem specific

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

Ubuntu:24.10 / ruby3.3

Package

Name
ruby3.3
Purl
pkg:deb/ubuntu/ruby3.3?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.4-2ubuntu5.1

Affected versions

3.*

3.3.1-3
3.3.1-4
3.3.1-5
3.3.1-6
3.3.4-1
3.3.4-2
3.3.4-2ubuntu5

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.3.4-2ubuntu5.1",
            "binary_name": "libruby3.3"
        },
        {
            "binary_version": "3.3.4-2ubuntu5.1",
            "binary_name": "libruby3.3-dbgsym"
        },
        {
            "binary_version": "3.3.4-2ubuntu5.1",
            "binary_name": "ruby3.3"
        },
        {
            "binary_version": "3.3.4-2ubuntu5.1",
            "binary_name": "ruby3.3-dbgsym"
        },
        {
            "binary_version": "3.3.4-2ubuntu5.1",
            "binary_name": "ruby3.3-dev"
        },
        {
            "binary_version": "3.3.4-2ubuntu5.1",
            "binary_name": "ruby3.3-doc"
        }
    ]
}

Ubuntu:24.04:LTS / ruby3.2

Package

Name
ruby3.2
Purl
pkg:deb/ubuntu/ruby3.2?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.3-1ubuntu0.24.04.3

Affected versions

3.*

3.2.3-1
3.2.3-1build2
3.2.3-1build3
3.2.3-1ubuntu0.24.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.2.3-1ubuntu0.24.04.3",
            "binary_name": "libruby3.2"
        },
        {
            "binary_version": "3.2.3-1ubuntu0.24.04.3",
            "binary_name": "libruby3.2-dbgsym"
        },
        {
            "binary_version": "3.2.3-1ubuntu0.24.04.3",
            "binary_name": "ruby3.2"
        },
        {
            "binary_version": "3.2.3-1ubuntu0.24.04.3",
            "binary_name": "ruby3.2-dbgsym"
        },
        {
            "binary_version": "3.2.3-1ubuntu0.24.04.3",
            "binary_name": "ruby3.2-dev"
        },
        {
            "binary_version": "3.2.3-1ubuntu0.24.04.3",
            "binary_name": "ruby3.2-doc"
        }
    ]
}