USN-7368-1: SnakeYAML vulnerability

Publication date

27 March 2025

Overview

SnakeYAML could be made to crash if it received specially crafted input.


Packages

  • snakeyaml - YAML parser and emitter for the Java programming language

Details

It was discovered that SnakeYAML incorrectly handled recursive
entity references. An attacker could possibly use this issue to
cause SnakeYAML to crash, resulting in a denial of service.

It was discovered that SnakeYAML incorrectly handled recursive
entity references. An attacker could possibly use this issue to
cause SnakeYAML to crash, resulting in a denial of service.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 focal libyaml-snake-java –  1.25+ds-2ubuntu0.1+esm1  
18.04 bionic libyaml-snake-java –  1.23-1+deb10u1ubuntu0.1~esm1  
16.04 xenial libyaml-snake-java –  1.12-2ubuntu0.16.04.1~esm2  
14.04 trusty libyaml-snake-java –  1.12-2ubuntu0.14.04.1~esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›