🛡️ CVE-2021-39151 on Debian — libxstream-java
Description
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host 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. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.
Distribution advisory
This page covers CVE-2021-39151 as tracked by Debian, for the package libxstream-java. The fix is available in version 1.4.18-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2021-39151 is classified as CWE-434: Unrestricted Upload of File with Dangerous Type. Uploads are accepted without restricting type, so an executable file can be placed where the server will run it.
Affected software
DEBIAN-CVE-2021-39151 is recorded against 1 package.
- libxstream-java (fixed in 1.4.18-1)
Timeline and source
Published on 23 August 2021 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2021-39151 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libxstream-java | — | 1.4.18-1 |
References
Similar Threats
- Unknown DEBIAN-CVE-2022-41966
- Unknown DEBIAN-CVE-2022-40151
- Unknown DLA-2924-1
- Unknown DEBIAN-CVE-2021-43859
- Unknown DLA-2769-1
Site Security Check
Is libxstream-java part of your stack?
DEBIAN-CVE-2021-39151 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.