
CVE catalog
CVE-2022-1471
snakeyaml: CVE-2022-1471
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 99.50% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | snakeyaml | sid | 2.5+ds-1 | vulnerable |
| Debian | snakeyaml | forky | 2.5+ds-1 | vulnerable |
| Debian | snakeyaml | trixie | 2.0+ds+really1.33-1 | vulnerable |
| Debian | snakeyaml | bookworm | 1.33-2 | vulnerable |
| Ubuntu | snakeyaml | pro | 1.23-1 | vulnerable |
| Ubuntu | snakeyaml | pro | 1.25+ds-2 | vulnerable |
| Ubuntu | snakeyaml | pro | 1.25+ds-2ubuntu0.1 | vulnerable |
| Ubuntu | snakeyaml | pro | 1.25+ds-2ubuntu0.1+esm1 | vulnerable |
| Ubuntu | snakeyaml | 22.04 | 1.28-1 | vulnerable |
| Ubuntu | snakeyaml | 22.04 | 1.29-1 | vulnerable |
| Ubuntu | snakeyaml | 22.04 | 1.29-1ubuntu0.22.04.1 | vulnerable |
| Ubuntu | snakeyaml | 24.04 | 1.33-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | snakeyaml | source | sid | (unfixed) | unimportant | Not reported | Not reported |
| Debian | snakeyaml | source | forky | (unfixed) | unimportant | Not reported | Not reported |
| Debian | snakeyaml | source | trixie | (unfixed) | unimportant | Not reported | Not reported |
| Debian | snakeyaml | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libyaml-snake-java]Affected
Source package: [snakeyaml]
Details (2)
1.33-2· all · bookwormAffected
dsa · snakeyaml · debian · bookworm
1.33-2· all · bookwormAffected
dsa · snakeyaml · debian · bookworm
- [libyaml-snake-java-doc]Affected
Source package: [snakeyaml]
Details (2)
1.33-2· all · bookwormAffected
dsa · snakeyaml · debian · bookworm
1.33-2· all · bookwormAffected
dsa · snakeyaml · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_9058.json]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-1471]
- [https://security-tracker.debian.org/tracker/CVE-2022-1471]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-1471.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1143.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]