USN-5944-1

Source
https://ubuntu.com/security/notices/USN-5944-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5944-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5944-1
Related
Published
2023-03-10T10:18:12.369133Z
Modified
2023-03-10T10:18:12.369133Z
Summary
snakeyaml vulnerabilities
Details

It was discovered that SnakeYAML did not limit the maximal nested depth for collections when parsing YAML data. If a user or automated system were tricked into opening a specially crafted YAML file, an attacker could possibly use this issue to cause applications using SnakeYAML to crash, resulting in a denial of service. (CVE-2022-25857, CVE-2022-38749, CVE-2022-38750)

It was discovered that SnakeYAML did not limit the maximal data matched with regular expressions when parsing YAML data. If a user or automated system were tricked into opening a specially crafted YAML file, an attacker could possibly use this issue to cause applications using SnakeYAML to crash, resulting in a denial of service. (CVE-2022-38751)

References

Affected packages

Ubuntu:Pro:14.04:LTS / snakeyaml

Package

Name
snakeyaml
Purl
pkg:deb/ubuntu/snakeyaml?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12-2ubuntu0.14.04.1~esm1

Affected versions

1.*

1.12-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.12-2ubuntu0.14.04.1~esm1",
            "binary_name": "libyaml-snake-java"
        },
        {
            "binary_version": "1.12-2ubuntu0.14.04.1~esm1",
            "binary_name": "libyaml-snake-java-doc"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / snakeyaml

Package

Name
snakeyaml
Purl
pkg:deb/ubuntu/snakeyaml?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12-2ubuntu0.16.04.1~esm1

Affected versions

1.*

1.12-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.12-2ubuntu0.16.04.1~esm1",
            "binary_name": "libyaml-snake-java"
        },
        {
            "binary_version": "1.12-2ubuntu0.16.04.1~esm1",
            "binary_name": "libyaml-snake-java-doc"
        }
    ]
}

Ubuntu:18.04:LTS / snakeyaml

Package

Name
snakeyaml
Purl
pkg:deb/ubuntu/snakeyaml?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.23-1+deb10u1build0.18.04.1

Affected versions

1.*

1.17-1
1.19-1
1.20-1
1.23-1~18.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.23-1+deb10u1build0.18.04.1",
            "binary_name": "libyaml-snake-java"
        },
        {
            "binary_version": "1.23-1+deb10u1build0.18.04.1",
            "binary_name": "libyaml-snake-java-doc"
        }
    ]
}

Ubuntu:20.04:LTS / snakeyaml

Package

Name
snakeyaml
Purl
pkg:deb/ubuntu/snakeyaml?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.25+ds-2ubuntu0.1

Affected versions

1.*

1.23-1
1.25+ds-2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.25+ds-2ubuntu0.1",
            "binary_name": "libyaml-snake-java"
        },
        {
            "binary_version": "1.25+ds-2ubuntu0.1",
            "binary_name": "libyaml-snake-java-doc"
        }
    ]
}

Ubuntu:22.04:LTS / snakeyaml

Package

Name
snakeyaml
Purl
pkg:deb/ubuntu/snakeyaml?arch=src?distro=jammy

Affected ranges

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

Affected versions

1.*

1.28-1
1.29-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.29-1ubuntu0.22.04.1",
            "binary_name": "libyaml-snake-java"
        },
        {
            "binary_version": "1.29-1ubuntu0.22.04.1",
            "binary_name": "libyaml-snake-java-doc"
        }
    ]
}