Files
CVEs-PoC/2021/CVE-2021-21348.md
2025-09-29 21:09:30 +02:00

23 lines
1.3 KiB
Markdown

### [CVE-2021-21348](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21348)
![](https://img.shields.io/static/v1?label=Product&message=xstream&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%201.4.16%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%20Uncontrolled%20Resource%20Consumption&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-502%20Deserialization%20of%20Untrusted%20Data&color=brightgreen)
### Description
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to occupy a thread that consumes maximum CPU time and will never return. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
### POC
#### Reference
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
#### Github
- https://github.com/Whoopsunix/PPPVULNS
- https://github.com/rootameen/vulpine
- https://github.com/x-poc/xstream-poc