CVE-2022-1471

Publication date 1 December 2022

Last updated 19 March 2025


Ubuntu priority

Cvss 3 Severity Score

9.8 · Critical

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
snakeyaml 24.10 oracular Ignored backport infeasible
24.04 LTS noble Ignored backport infeasible
23.10 mantic Ignored end of life, was needs-triage
23.04 lunar Ignored end of life, was needs-triage
22.10 kinetic Ignored end of life, was needs-triage
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 end of ESM support, was needs-triage

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 9.8 · Critical
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