CVE-2022-1471
Publication date 1 December 2022
Last updated 4 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| snakeyaml | ||
| 24.04 LTS noble | Ignored backport infeasible | |
| 22.04 LTS jammy | Ignored backport infeasible | |
| 20.04 LTS focal | Ignored backport infeasible | |
| 18.04 LTS bionic | Ignored backport infeasible | |
| 16.04 LTS xenial | Ignored backport infeasible | |
| 14.04 LTS trusty | Ignored backport infeasible |
Notes
eslerm
upstream bug report declares this a documentation issue
john-breton
A secure by default change was made in version 2.0, but the version is not backwards compatible and considered breaking by upstream. It cannot be used to patch the vulnerability in this case, and the documentation is already clear to avoid this issue.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |