CVE-2019-0222 Improper Control of Generation of Code ('Code Injection') in org.apache.activemq:activemq-client
Attackers can crash the Apache ActiveMQ broker by sending corrupt MQTT frames, causing an Out of Memory exception and service unavailability.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-0222?
CVE-2019-0222 is a high-severity denial of service vulnerability in Apache Activemq, published on 28 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Apache ActiveMQ 5.0.0 - 5.15.8, unmarshalling corrupt MQTT frame can lead to broker Out of Memory exception making it unresponsive.
Which versions are affected by CVE-2019-0222?
2 open source packages ship an affected version, including org.apache.activemq:activemq-client. It affects 8 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.activemq:activemq-client Maven | From 5.0.0 | 5.15.9 |
org.apache.activemq:activemq-client Maven | From 5.0.0 | 5.15.9 |
Products include Apache Activemq, Debian Debian Linux, Netapp E-Series Santricity Web Services, Oracle Communications Diameter Signaling Router, Oracle Enterprise Manager Base Platform, Oracle Enterprise Repository and 2 more.
How do I fix CVE-2019-0222?
Upgrade org.apache.activemq:activemq-client to 5.15.9 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2019-0222 being exploited?
There is no known exploitation of CVE-2019-0222 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Apache Activemq
Sources
Also known as DEBIAN-CVE-2019-0222, DLA-2582-1, GHSA-jpv3-g4cc-6vfx, UBUNTU-CVE-2019-0222, USN-6685-1.