USN-6853-1

Source
https://ubuntu.com/security/notices/USN-6853-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6853-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6853-1
Related
Published
2024-06-26T12:27:29.717655Z
Modified
2024-06-26T12:27:29.717655Z
Summary
ruby2.7, ruby3.0, ruby3.1 vulnerability
Details

It was discovered that Ruby incorrectly handled the ungetbyte and ungetc methods. A remote attacker could use this issue to cause Ruby to crash, resulting in a denial of service, or possibly obtain sensitive information.

References

Affected packages

Ubuntu:20.04:LTS / ruby2.7

Package

Name
ruby2.7
Purl
pkg:deb/ubuntu/ruby2.7?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.0-5ubuntu1.14

Affected versions

2.*

2.7.0-1
2.7.0-2
2.7.0-3
2.7.0-4
2.7.0-4ubuntu1
2.7.0-5ubuntu1
2.7.0-5ubuntu1.1
2.7.0-5ubuntu1.2
2.7.0-5ubuntu1.3
2.7.0-5ubuntu1.4
2.7.0-5ubuntu1.5
2.7.0-5ubuntu1.6
2.7.0-5ubuntu1.7
2.7.0-5ubuntu1.8
2.7.0-5ubuntu1.9
2.7.0-5ubuntu1.10
2.7.0-5ubuntu1.11
2.7.0-5ubuntu1.12
2.7.0-5ubuntu1.13

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.7.0-5ubuntu1.14",
            "binary_name": "libruby2.7"
        },
        {
            "binary_version": "2.7.0-5ubuntu1.14",
            "binary_name": "libruby2.7-dbgsym"
        },
        {
            "binary_version": "2.7.0-5ubuntu1.14",
            "binary_name": "ruby2.7"
        },
        {
            "binary_version": "2.7.0-5ubuntu1.14",
            "binary_name": "ruby2.7-dbgsym"
        },
        {
            "binary_version": "2.7.0-5ubuntu1.14",
            "binary_name": "ruby2.7-dev"
        },
        {
            "binary_version": "2.7.0-5ubuntu1.14",
            "binary_name": "ruby2.7-doc"
        }
    ]
}

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

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

Ecosystem specific

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

Ubuntu:23.10 / ruby3.1

Package

Name
ruby3.1
Purl
pkg:deb/ubuntu/ruby3.1?arch=src?distro=mantic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2-7ubuntu3.3

Affected versions

3.*

3.1.2-6
3.1.2-7
3.1.2-7ubuntu1
3.1.2-7ubuntu3
3.1.2-7ubuntu3.1
3.1.2-7ubuntu3.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.1.2-7ubuntu3.3",
            "binary_name": "libruby3.1"
        },
        {
            "binary_version": "3.1.2-7ubuntu3.3",
            "binary_name": "libruby3.1-dbgsym"
        },
        {
            "binary_version": "3.1.2-7ubuntu3.3",
            "binary_name": "ruby3.1"
        },
        {
            "binary_version": "3.1.2-7ubuntu3.3",
            "binary_name": "ruby3.1-dbgsym"
        },
        {
            "binary_version": "3.1.2-7ubuntu3.3",
            "binary_name": "ruby3.1-dev"
        },
        {
            "binary_version": "3.1.2-7ubuntu3.3",
            "binary_name": "ruby3.1-doc"
        }
    ]
}