Vulnerability
CVE-2022-1471
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.
329 advisories report this vulnerability, across 9 ecosystems.
Advisories
-
ALSA-2022:9058
Important: prometheus-jmx-exporter security update
- CGA-2258-h6mm-6v7r
- CGA-2355-f6r6-6cg2
- CGA-23qr-f39r-q522
- CGA-23rp-rrc5-r6rx
- CGA-24pc-p3wf-6c2w
- CGA-256p-27pw-mppr
- CGA-25hj-8vpq-4m35
- CGA-2686-3h2w-268v
- CGA-2859-r8vf-p5mp
- CGA-28f5-gwhx-h352
- CGA-2c4j-r8v2-2x6m
- CGA-2c84-qjqx-7x99
- CGA-2fh5-mffw-cgp2
- CGA-2fpx-p8p5-pjj2
- CGA-2g8g-rp65-434m
- CGA-2gqx-89pm-g7gg
- CGA-2hfv-mj8g-5j49
- CGA-2hmf-f6m8-ph73
- CGA-2mr9-2v53-67vv
- CGA-2pwc-xr22-fg49
- CGA-2wg7-j6jw-f38h
- CGA-32xq-45g8-v5m5
- CGA-33f4-m29p-jhq4
- CGA-34qg-5fx3-v29j
- CGA-34vq-hh8x-cr7x
- CGA-3623-47p6-2x7p
- CGA-37cc-xm78-848c
- CGA-39m6-4h44-gf9j
- CGA-3c3m-963w-pxmq
- CGA-3f99-v734-ppqr
- CGA-3h4w-f5v8-9v2h
- CGA-3hm4-wgw3-j4qp
- CGA-3mjq-pc7g-32r2
- CGA-3ppj-2xg5-59hc
- CGA-3prg-8rjj-mqvj
- CGA-3rhp-73h9-2hm9
- CGA-3v69-2pfg-phfw
- CGA-3vmj-rgq6-vq85
- CGA-45m9-mhvw-x6fw
- CGA-4725-wc2c-v97w
- CGA-474q-wx35-xc62
- CGA-47h5-jrm8-rcf6
- CGA-48v7-6vqx-7j27
- CGA-49m8-pxc8-46f5
- CGA-49r2-gwq7-q27v
- CGA-4c24-pm6h-gcp6
- CGA-4cg7-89ff-hc6q
- CGA-4mc4-c272-8v9f
- CGA-4mc6-x2gq-q5wj
- CGA-4p8q-66vq-5x79
- CGA-4pfv-37w5-qx9v
- CGA-4pjm-px8g-pwcj
- CGA-4rh7-wrqr-7774
- CGA-4rvh-27xm-6h2c
- CGA-542r-pmpv-vq9w
- CGA-54jh-3453-hqpv
- CGA-56c8-p8jg-g888
- CGA-56pp-cxrj-vpf2
- CGA-584x-85c3-55h9
- CGA-59c6-qc7q-965f
- CGA-5c7r-48xf-mm95
- CGA-5g95-pv96-238j
- CGA-5h49-345h-46fx
- CGA-5hp2-pv65-9jcj
- CGA-5m8g-j5x4-xcvp
- CGA-5p92-m44j-wjhh
- CGA-5q98-9xv7-2x4j
- CGA-5rph-pf95-3q25
- CGA-6249-w2qr-qv94
- CGA-646j-g5w2-9cjh
- CGA-6698-q48p-38f2
- CGA-66rp-qvg8-wqvg
- CGA-673p-v9ph-v52x
- CGA-67m4-c8mw-xpm5
- CGA-69v4-j3p9-25c5
- CGA-6c3x-g46f-vwh8
- CGA-6cg2-87p5-jw2x
- CGA-6cp6-h7jr-jpv3
- CGA-6h5q-mpq8-gfwx
- CGA-6hg3-66h6-84w4
- CGA-6m69-2w34-32w6
- CGA-6q7x-mxfp-68p6
- CGA-6q83-r8x4-678v
- CGA-6q99-gj2m-32j3
- CGA-6qxq-x92h-p4p5
- CGA-6rvw-6x22-64hr
- CGA-6v66-fp8c-cqp7
- CGA-6w4j-xggr-jfg9
- CGA-6wf2-78fg-j3w4
- CGA-728h-qhrf-mw5j
- CGA-74p6-qhf5-rcvc
- CGA-75cq-x9w2-5gvf
- CGA-779j-f369-g84c
- CGA-78x5-33c3-c6mv
- CGA-79cg-hqfx-g85q
- CGA-7cmc-mmqv-f2wf
- CGA-7cwq-52wp-crwh
- CGA-7hr9-hxph-7w3h
- CGA-7jwh-x7qm-vmj2
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2022-1471.
References
- 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