DEBIAN-CVE-2021-21341
Record from OSV · Published March 23, 2021
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is vulnerability which may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libxstream-java | Debian:14 | 1.4.15-2 |
| libxstream-java | Debian:12 | 1.4.15-2 |
| libxstream-java | Debian:13 | 1.4.15-2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | libxstream-java | 0 |
| Debian:12 | libxstream-java | 0 |
| Debian:13 | libxstream-java | 0 |
Timeline
- Mar 23, 2021 CVE Published
- Oct 23, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2021-21341
vulnetix vdb fixes DEBIAN-CVE-2021-21341
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2021-21341/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart