CVE-2022-1471
High
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.
SeverityHigh
CVSS8.3
Exploit probability—
ProductSnakeyaml
PublishedDec 1, 2022
First seenDec 1, 2022
Weakness typeCWE-20Improper input validation
How to fix
Update
- snakeyaml_project snakeyaml2.0 or later
- org.yaml:snakeyaml2.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| snakeyaml_project snakeyaml | v < 2.0 | 2.0 |
| org.yaml:snakeyamlMaven | v < 2.0 | 2.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.