---
cve: "CVE-2022-1471"
severity: "HIGH"
cvss: 8.3
epss: "99.6%"
vendor: "snakeyaml"
kev: false
exploited: false
published: "2022-12-01 11:15:10"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-09T05:43:23+02:00"
---

# CVE-2022-1471

> 8.3 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

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

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Gering | warn |

## Patch verfügbar (OSV)

- 59ddbb3304bb8e22e2004d74cddaf9ed4086632e (Commit)

## Referenzen

- <https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2>
- <https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479>
- <https://github.com/mbechler/marshalsec>
- <https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true>
- <https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc>
- <https://security.netapp.com/advisory/ntap-20230818-0015/>
- <http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html>
- <http://www.openwall.com/lists/oss-security/2023/11/19/1>
- <https://security.netapp.com/advisory/ntap-20240621-0006/>
- <https://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c>
- <https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-1471) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
