CVE-2022-1471Snakeyaml Project Snakeyaml
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Snakeyaml Project · Snakeyaml Project Snakeyaml We alert you by email or Slack (account required).
- Priority
- 80
- CVSS 3.1
- 9.8
- EPSS
- 62.0% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Dec 1, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Snakeyaml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.yaml:snakeyaml |
< 2.0 |
2.0 |
— |
Per OSV / GitHub Advisories (GHSA-mjmj-j48q-9wg2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| snakeyaml_project | snakeyaml | < 2.0 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.9.56 security update · Red Hat · RHSA-2023:0777 · Aug 5, 2026 Critical
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.11 Openshift Jenkins security update · Red Hat · RHSA-2023:6171 · Oct 2, 2024 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com
- www.openwall.com
- bitbucket.org Issue Tracking Third Party Advisory
- confluence.atlassian.com
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- groups.google.com
- infosecwriteups.com
- security.netapp.com
- security.netapp.com
- www.github.com Exploit Third Party Advisory