USN-5944-1: SnakeYAML vulnerabilities
==========================================================================
Ubuntu Security Notice USN-5944-1
March 10, 2023
snakeyaml vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 22.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 ESM
- Ubuntu 14.04 ESM
Summary:
Several security issues were fixed in SnakeYAML.
Software Description:
- snakeyaml: YAML parser and emitter for the Java programming language
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)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 22.10:
libyaml-snake-java 1.29-1ubuntu0.22.10.1
Ubuntu 22.04 LTS:
libyaml-snake-java 1.29-1ubuntu0.22.04.1
Ubuntu 20.04 LTS:
libyaml-snake-java 1.25+ds-2ubuntu0.1
Ubuntu 18.04 LTS:
libyaml-snake-java 1.23-1+deb10u1build0.18.04.1
Ubuntu 16.04 ESM:
libyaml-snake-java 1.12-2ubuntu0.16.04.1~esm1
Ubuntu 14.04 ESM:
libyaml-snake-java 1.12-2ubuntu0.14.04.1~esm1
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-5944-1
CVE-2022-25857, CVE-2022-38749, CVE-2022-38750, CVE-2022-38751
Package Information:
https://launchpad.net/ubuntu/+source/snakeyaml/1.29-1ubuntu0.22.10.1
https://launchpad.net/ubuntu/+source/snakeyaml/1.29-1ubuntu0.22.04.1
https://launchpad.net/ubuntu/+source/snakeyaml/1.25+ds-2ubuntu0.1
https://launchpad.net/ubuntu/+source/snakeyaml/1.23-1+deb10u1build0.18.04.1
A SnakeYAML security update has been released for Ubuntu Linux 14.04 ESM, 16.04 ESM, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 22.10.