CVE-2022-1471
published high CVSS 3.1 · 8.3Remote Code execution in SnakeYAML
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SnakeYAML | — | SnakeYAML0 through 2.0 · Other versions: unaffected | Affected | Not stated | |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | prometheus-jmx-exporter | Advisory build | 0.12.0-9.el8_7 | ALSA-2022:9058 |
| Oracle Linux | 8 | prometheus-jmx-exporteraarch64 | Advisory build | 0:0.12.0-9.el8_7 | ELSA-2022-9058-1 |
| Red Hat Enterprise Linux | RHEL-8 | prometheus-jmx-exporternoarch | Advisory build | 0.12.0-9.el8_7 | RHSA-2022:9058 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-csvaarch64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| Rocky Linux | 8 | libdb-cxxx86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
Show 48 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | prometheus-jmx-exporter-openjdk11 | Advisory build | 0.12.0-9.el8_7 | ALSA-2022:9058 |
| AlmaLinux | 8 | prometheus-jmx-exporter-openjdk17 | Advisory build | 0.12.0-9.el8_7 | ALSA-2022:9058 |
| AlmaLinux | 8 | prometheus-jmx-exporter-openjdk8 | Advisory build | 0.12.0-9.el8_7 | ALSA-2022:9058 |
| Oracle Linux | 8 | prometheus-jmx-exporterx86_64 | Advisory build | 0:0.12.0-9.el8_7 | ELSA-2022-9058-1 |
| Oracle Linux | 8 | prometheus-jmx-exporter-openjdk11aarch64 | Advisory build | 0:0.12.0-9.el8_7 | ELSA-2022-9058-1 |
| Oracle Linux | 8 | prometheus-jmx-exporter-openjdk11x86_64 | Advisory build | 0:0.12.0-9.el8_7 | ELSA-2022-9058-1 |
| Oracle Linux | 8 | prometheus-jmx-exporter-openjdk17aarch64 | Advisory build | 0:0.12.0-9.el8_7 | ELSA-2022-9058-1 |
| Oracle Linux | 8 | prometheus-jmx-exporter-openjdk17x86_64 | Advisory build | 0:0.12.0-9.el8_7 | ELSA-2022-9058-1 |
| Oracle Linux | 8 | prometheus-jmx-exporter-openjdk8aarch64 | Advisory build | 0:0.12.0-9.el8_7 | ELSA-2022-9058-1 |
| Oracle Linux | 8 | prometheus-jmx-exporter-openjdk8x86_64 | Advisory build | 0:0.12.0-9.el8_7 | ELSA-2022-9058-1 |
| Red Hat Enterprise Linux | RHEL-8 | prometheus-jmx-exportersrc | Advisory build | 0.12.0-9.el8_7 | RHSA-2022:9058 |
| Red Hat Enterprise Linux | RHEL-8 | prometheus-jmx-exporter-openjdk11noarch | Advisory build | 0.12.0-9.el8_7 | RHSA-2022:9058 |
| Red Hat Enterprise Linux | RHEL-8 | prometheus-jmx-exporter-openjdk17noarch | Advisory build | 0.12.0-9.el8_7 | RHSA-2022:9058 |
| Red Hat Enterprise Linux | RHEL-8 | prometheus-jmx-exporter-openjdk8noarch | Advisory build | 0.12.0-9.el8_7 | RHSA-2022:9058 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-csvppc64le | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-csvs390x | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-csvx86_64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-propertiesaarch64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-propertiesppc64le | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-propertiess390x | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-propertiesx86_64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-tomlaarch64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-tomlppc64le | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-tomls390x | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-tomlx86_64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-yamlaarch64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-yamlppc64le | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-yamls390x | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformat-yamlx86_64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformats-textaarch64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformats-textppc64le | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformats-texts390x | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformats-textx86_64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformats-text-javadocaarch64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformats-text-javadocppc64le | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformats-text-javadocs390x | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | jackson-dataformats-text-javadocx86_64 | Advisory build | 2.15.2-1.1 | OPENSUSE-SU-2024:13151-1 |
| Rocky Linux | 8 | libdb-cxx-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-sql-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-sql-devel-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-utils-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | prometheus-jmx-exporternoarch | Listed in advisory | Not stated | RLSA-2022:9058 |
| Rocky Linux | 8 | prometheus-jmx-exportersrc | Listed in advisory | Not stated | RLSA-2022:9058 |
| Rocky Linux | 8 | prometheus-jmx-exporter-openjdk11noarch | Listed in advisory | Not stated | RLSA-2022:9058 |
| Rocky Linux | 8 | prometheus-jmx-exporter-openjdk17noarch | Listed in advisory | Not stated | RLSA-2022:9058 |
| Rocky Linux | 8 | prometheus-jmx-exporter-openjdk8noarch | Listed in advisory | Not stated | RLSA-2022:9058 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SnakeYAML | SnakeYAML | 0 through 2.0 (affected · custom)Default: unaffected | Google · cna |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
11- 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://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479
- https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html
- https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2
- https://github.com/mbechler/marshalsec
- https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
- https://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c
- https://security.netapp.com/advisory/ntap-20230818-0015/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true
Provider assertions
3Google · cna
Remote Code execution in SnakeYAML
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3d4b30803ca6d492d43cc3094f0fc274d2af069a487ffce7a3339babdf309aac
- Ingested
- 23 Sep 2026, 07:57:48 UTC
- Source record
- Official CVE record