CVE-2017-12174: High severity Apache ActiveMQ Artemis vulnerability

Published Oct 4, 2017
·
Updated

An issue was found in the Artemis and HornetQ .When 3rd party tool send multicast messages to Artemis/HornetQ which is configured with UDP Disovery and JGroups Discovery, Artemis/HornetQ creates a huge byte array at receiving the unexpected multicast message. So, it results in heap memory exhaustion, full GC and OutOfMemoryError in the worst case.

Other sources

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.

Affected Software

19 affected components
Apache ActiveMQ Artemis<2.4.0
redhat Hornetq<2.4.0
redhat JBoss Enterprise Application Platform=6.4.0
redhat JBoss Enterprise Application Platform=7.1.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=6.0
redhat JBoss Enterprise Application Platform=6.0.0
redhat Enterprise Linux=5.0
Apache ARTEMIS<2.4.0
All of the following
Any of the following
redhat JBoss Enterprise Application Platform=6.4.0
redhat JBoss Enterprise Application Platform=7.1.0
redhat Enterprise Linux=7.0
All of the following
redhat JBoss Enterprise Application Platform=7.1.0
Any of the following
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
All of the following
Any of the following
redhat JBoss Enterprise Application Platform=6.0.0
redhat JBoss Enterprise Application Platform=6.4.0
Any of the following
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Artemis to a version that resolves this vulnerability.

    Fixed in 2.4.0
  2. Upgrade

    Upgrade HornetQ to a version that resolves this vulnerability.

    Fixed in 2.4.0
  3. Configuration

    Reconfigure the product to not use UDP discovery or JGroups discovery (disable multicast discovery) until the product is upgraded to 2.4.0 to avoid processing unexpected multicast messages that create huge byte arrays and may cause heap exhaustion or OutOfMemoryError.

    Artemis and HornetQ Discovery mechanism = disable UDP discovery and JGroups discovery

Event History

Oct 4, 2017
Data Sourced
via Red Hat·07:32 AM
DescriptionSeverityAffected Software
Mar 7, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionWeakness
Data Sourced
via NVD·10:29 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-12174?

CVE-2017-12174 is a medium severity vulnerability that can lead to heap memory exhaustion.

2

How do I fix CVE-2017-12174?

To fix CVE-2017-12174, upgrade Apache ActiveMQ Artemis and Redhat HornetQ to versions later than 2.4.0.

3

What systems are affected by CVE-2017-12174?

CVE-2017-12174 affects Apache ActiveMQ Artemis versions before 2.4.0 and Redhat HornetQ versions before 2.4.0.

4

What can happen if CVE-2017-12174 is exploited?

If exploited, CVE-2017-12174 may result in OutOfMemoryError due to excessive memory consumption.

5

Is CVE-2017-12174 related to JGroups discovery?

Yes, CVE-2017-12174 is specifically related to the use of UDP discovery and JGroups discovery.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203