---
title: "CVE-2022-1471\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-1471?format=md
keywords: index, follow
---

# CVE-2022-1471

Publication date 1 December 2022

Last updated 4 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2022-1471?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2022-1471?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| snakeyaml | 24.10 oracular | Ignored end of life, was 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 end of standard support, was ignored [backport infeasible] |
| 18.04 LTS bionic | Ignored end of standard support, was needs-triage |
| 16.04 LTS xenial | Ignored end of standard support |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [eslerm](https://launchpad.net/~eslerm)

upstream bug report declares this a documentation issue

---

### [john-breton](https://launchpad.net/~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

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1471)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-1471)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-1471)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-1471)

### Other references

* <https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2>
* <https://www.cve.org/CVERecord?id=CVE-2022-1471>
