Advisory

USN-5944-1

Also known as: CVE-2022-25857, CVE-2022-38749, CVE-2022-38750, CVE-2022-38751

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)

Severity

Not rated by the source.

Dates

Published
2023-03-10 10:18 UTC
Modified
2026-06-29 13:50 UTC

Affected packages and fixes

snakeyaml

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.23-1+deb10u1build0.18.04.1 (ecosystem)

Fixed versions

1.23-1+deb10u1build0.18.04.1

Fix

  • Fixed version 1.23-1+deb10u1build0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

snakeyaml

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.25+ds-2ubuntu0.1 (ecosystem)

Fixed versions

1.25+ds-2ubuntu0.1

Fix

  • Fixed version 1.25+ds-2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

snakeyaml

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.29-1ubuntu0.22.04.1 (ecosystem)

Fixed versions

1.29-1ubuntu0.22.04.1

Fix

  • Fixed version 1.29-1ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences