CVE-2022-1471
Last modified
CVE-2022-1471 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 99.61% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Snakeyaml Project | Snakeyaml | < 2.0 |
References
- https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479Issue Tracking, Third Party Advisory
- https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2Exploit, Third Party Advisory
- https://github.com/mbechler/marshalsecExploit, Third Party Advisory
- https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=trueExploit, Third Party Advisory
- https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479Issue Tracking, Third Party Advisory
- https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2Exploit, Third Party Advisory
- https://github.com/mbechler/marshalsecExploit, Third Party Advisory
- https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=trueExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-1471?
How severe is CVE-2022-1471?
How do I fix CVE-2022-1471?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-1465The WPC Smart Wishlist for WooCommerce WordPress plugin befo…6.1
- CVE-2022-1466Due to improper authorization, Red Hat Single Sign-On is vul…6.5
- CVE-2022-1467Windows OS can be configured to overlay a “language bar” on …9.9
- CVE-2022-1468On all versions of 17.0.x, 16.1.x, 15.1.x, 14.1.x, 13.1.x, 1…4.3
- CVE-2022-1469The FiboSearch WordPress plugin before 1.17.0 does not sanit…4.8
- CVE-2022-1470The Ultimate WooCommerce CSV Importer WordPress plugin throu…6.1
- CVE-2022-1472The Better Find and Replace WordPress plugin before 1.3.6 do…7.2
- CVE-2022-1473The OPENSSL_LH_flush() function, which empties a hash table,…7.5
- CVE-2022-1474The WP Event Manager WordPress plugin before 3.1.28 does not…6.1
- CVE-2022-1475An integer overflow vulnerability was found in FFmpeg versio…5.5
- CVE-2022-1476The All-in-One WP Migration plugin for WordPress is vulnerab…6.5
- CVE-2022-1477Use after free in Vulkan in Google Chrome prior to 101.0.495…8.8
Are you affected by CVE-2022-1471?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
