CVE-2022-1471
HIGH8.3EPSS 93.8%SnakeYaml Constructor Deserialization Remote Code Execution
發布日:2022/12/12修改日:2026/4/28
描述
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.
受影響套件(2)
- Debian/snakeyamlfrom 0
- Maven/org.yaml:snakeyamlfrom 0, < 2.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
參考連結(20)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-1471
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-1471
- PATCHhttps://bitbucket.org/snakeyaml/snakeyaml
- WEBhttp://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html
- WEBhttps://bitbucket.org/snakeyaml/snakeyaml/commits/5014df1a36f50aca54405bb8433bc99a8847f758
- WEBhttps://bitbucket.org/snakeyaml/snakeyaml/commits/acc44099f5f4af26ff86b4e4e4cc1c874e2dc5c4
- WEBhttps://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479
- WEBhttps://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64634374
- WEBhttps://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64876314
- WEBhttps://bitbucket.org/snakeyaml/snakeyaml/wiki/CVE-2022-1471
- WEBhttps://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html
- WEBhttps://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2
- WEBhttps://github.com/mbechler/marshalsec
- WEBhttps://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
- WEBhttps://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c
- WEBhttps://security.netapp.com/advisory/ntap-20230818-0015
- WEBhttps://security.netapp.com/advisory/ntap-20240621-0006
- WEBhttps://snyk.io/blog/unsafe-deserialization-snakeyaml-java-cve-2022-1471
- WEBhttps://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true
- WEBhttp://www.openwall.com/lists/oss-security/2023/11/19/1