CVE-2022-1471
Remote Code execution in SnakeYAML
- Published
- Dec 1, 2022
- Updated
- Jun 18, 2025
- Assigning CNA
- Evidence observed
- Aug 7, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.9%
- Model date
- Oct 15, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
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.
Sources
modules/exploits/multi/http/torchserver_cve_2023_43654.rb
Metasploit Framework modulesDeclared conditions
- platform: Java($.exploit_multi/http/torchserver_cve_2023_43654.platform)
- verification: check_declared($.exploit_multi/http/torchserver_cve_2023_43654.check)
Code for veracode blog
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.