U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2021-21345 Detail

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 who has sufficient rights to execute commands of the 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. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://x-stream.github.io/changes.html#1.4.16 Release Notes  Third Party Advisory 
http://x-stream.github.io/changes.html#1.4.16 Release Notes  Third Party Advisory 
https://github.com/x-stream/xstream/security/advisories/GHSA-hwpc-8xqv-jvj4 Third Party Advisory 
https://github.com/x-stream/xstream/security/advisories/GHSA-hwpc-8xqv-jvj4 Third Party Advisory 
https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E
https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E
https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E
https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E
https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html Mailing List  Third Party Advisory 
https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html Mailing List  Third Party Advisory 
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
https://security.netapp.com/advisory/ntap-20210430-0002/ Third Party Advisory 
https://security.netapp.com/advisory/ntap-20210430-0002/ Third Party Advisory 
https://www.debian.org/security/2021/dsa-5004 Third Party Advisory 
https://www.debian.org/security/2021/dsa-5004 Third Party Advisory 
https://www.oracle.com//security-alerts/cpujul2021.html Third Party Advisory 
https://www.oracle.com//security-alerts/cpujul2021.html Third Party Advisory 
https://www.oracle.com/security-alerts/cpuApr2021.html Patch  Third Party Advisory 
https://www.oracle.com/security-alerts/cpuApr2021.html Patch  Third Party Advisory 
https://www.oracle.com/security-alerts/cpujan2022.html Patch  Vendor Advisory 
https://www.oracle.com/security-alerts/cpujan2022.html Patch  Vendor Advisory 
https://www.oracle.com/security-alerts/cpuoct2021.html Third Party Advisory 
https://www.oracle.com/security-alerts/cpuoct2021.html Third Party Advisory 
https://x-stream.github.io/CVE-2021-21345.html Exploit  Third Party Advisory 
https://x-stream.github.io/CVE-2021-21345.html Exploit  Third Party Advisory 
https://x-stream.github.io/security.html#workaround Mitigation  Third Party Advisory 
https://x-stream.github.io/security.html#workaround Mitigation  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') cwe source acceptance level NIST  
CWE-94 Improper Control of Generation of Code ('Code Injection') GitHub, Inc.  
CWE-502 Deserialization of Untrusted Data GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

22 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2021-21345
NVD Published Date:
03/22/2021
NVD Last Modified:
11/21/2024
Source:
GitHub, Inc.