CVE-2017-12174 Uncontrolled Resource Consumption in Artemis and HornetQ
Attackers can cause denial of service via heap exhaustion by sending unexpected multicast messages to Artemis or HornetQ configured with UDP or JGroups discovery.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-12174?
CVE-2017-12174 is a high-severity denial of service vulnerability in Redhat Jboss Enterprise Application Platform, published on 7 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
It was found that when Artemis and HornetQ before 2.4.0 are configured with UDP discovery and JGroups discovery a huge byte array is created when receiving an unexpected multicast message. This may result in a heap memory exhaustion, full GC, or OutOfMemoryError.
Weakness: CWE-400
Which versions are affected by CVE-2017-12174?
4 open source packages ship an affected version, including org.apache.activemq:artemis-native and org.hornetq:hornetq-server. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.activemq:artemis-native Maven | All versions | 2.4.0 |
org.apache.activemq:artemis-native Maven | All versions | 2.4.0 |
org.hornetq:hornetq-server Maven | All versions | 2.4.0.Final |
org.hornetq:hornetq-server Maven | All versions | 2.4.0.Final |
Products include Apache Artemis, Redhat Hornetq, Redhat Jboss Enterprise Application Platform.
How do I fix CVE-2017-12174?
Upgrade org.apache.activemq:artemis-native to 2.4.0 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-2017-12174 being exploited?
There is no known exploitation of CVE-2017-12174 in the wild and no public exploit code.
Other vulnerabilities in Redhat Jboss Enterprise Application Platform
- CVE-2026-57967 Apache Artemis, Apache ActiveMQ Artemis: Missing authentication on CORE protocol session reattachment
- CVE-2026-27446 Apache Artemis, Apache ActiveMQ Artemis: Auth bypass for Core downstream federation
- CVE-2026-49364 Information disclosure in Apache ActiveMQ Artemis
- CVE-2026-67593 Missing authorization in Apache ActiveMQ Artemis
- CVE-2023-50780 Apache ActiveMQ Artemis: Authenticated users could perform RCE via Jolokia MBeans
All Redhat Jboss Enterprise Application Platform vulnerabilities
Sources
Also known as GHSA-gc96-h5pr-839j.