CVE-2018-1310 Apache NiFi JMS Deserialization issue
Malicious JMS content can cause denial of service in Apache NiFi due to a vulnerable ActiveMQ client library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-1310?
CVE-2018-1310 is a high-severity unsafe deserialization vulnerability in Apache Nifi, published on 23 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Apache NiFi JMS Deserialization issue because of ActiveMQ client vulnerability. Malicious JMS content could cause denial of service. See ActiveMQ CVE-2015-5254 announcement for more information. The fix to upgrade the activemq-client library to 5.15.3 was applied on the Apache NiFi 1.6.0 release. Users running a prior 1.x release should upgrade to the appropriate release.
Weakness: CWE-502
Which versions are affected by CVE-2018-1310?
2 open source packages ship an affected version, including org.apache.nifi:nifi. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.nifi:nifi Maven | All versions | 1.6.0 |
org.apache.nifi:nifi Maven | All versions | 1.6.0 |
Products include Apache Nifi.
How do I fix CVE-2018-1310?
Upgrade org.apache.nifi:nifi to 1.6.0 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2018-1310 being exploited?
There is no known exploitation of CVE-2018-1310 in the wild and no public exploit code.
Other vulnerabilities in Apache Nifi
- CVE-2018-1309 Improper Restriction of XML External Entity Reference in Apache NiFi
- CVE-2017-15697 Apache NiFi XSS issue in context path handling
- CVE-2017-5636 Injection in Apache NiFi
- CVE-2026-68981 Apache NiFi: Uncontrolled Resource Consumption through Decompression of HTTP Requests
- CVE-2023-36542 Apache NiFi: Potential Code Injection with Properties Referencing Remote Resources
Sources
Also known as GHSA-p76j-5v6v-6c22.