Arbitrary file upload in Apache Activemq
CVE-2021-21351
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a 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. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.821 (99.7th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.821 · newest: 0.821 · change: 0.000
Affected products
- Apache Activemq — versions 5.16.0, 5.16.1
- Apache Jmeter
- NetApp Oncommand Insight
- Oracle Banking Enterprise Default Management — versions 2.10.0, 2.12.0
- Oracle Banking Platform — versions 2.4.0, 2.7.1, 2.9.0
- Oracle Banking Virtual Account Management — versions 14.2.0, 14.3.0, 14.5.0
- Oracle Business Activity Monitoring — versions 11.1.1.9.0, 12.2.1.3.0, 12.2.1.4.0
- Oracle Communications Billing And Revenue Management Elastic Charging Engine — versions 12.0.0.3.0
- Oracle Communications Policy Management — versions 12.5.0
- Oracle Communications Unified Inventory Management — versions 7.3.2, 7.3.4, 7.3.5
Weakness classification (CWE)
Public proof-of-concept exploits
References
- x-stream.github.io/security.html (Third Party Advisory, Mitigation)
- x-stream.github.io/changes.html (Third Party Advisory, Release Notes)
- github.com/x-stream/xstream/security/advisories/GHSA-hrcp-8f3q-4w2c (Third Party Advisory)
- x-stream.github.io/CVE-2021-21351.html (Exploit, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2021/04/msg00002.html (mailing-list, Mailing List, Third Party Advisory)
- lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425… (mailing-list, Mailing List, Third Party Advisory, Issue Tracking)
- lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d… (mailing-list, Mailing List, Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20210430-0002/ (Third Party Advisory)
- www.oracle.com//security-alerts/cpujul2021.html (Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-21351?
- CVE-2021-21351 is a medium-severity vulnerability in Apache Activemq, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 5.4/10. Published 2021-03-23.
- How severe is CVE-2021-21351?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2021-21351 known to be exploited?
- 12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.