Skip to content
Fencer Intel
high 7.5

CVE-2017-12174 json

Uncontrolled Resource Consumption in Artemis and HornetQ

published 8y ago modified 4mo ago also GHSA-gc96-h5pr-839j , EUVD-2022-3937

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
6.0%
EPSS 6.0% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.hornetq:hornetq-server 2.4.0.Final
  • maven org.apache.activemq:artemis-native 2.4.0
  • apache artemis 2.4.0
  • redhat hornetq 2.4.0
  • eap7-jboss-ec2-eap jboss enterprise application platform 7 7.1.1-3.1.GA_redhat_3.ep7.el6
  • eap7-jboss-ec2-eap jboss enterprise application platform 7.1 7.1.1-3.1.GA_redhat_3.ep7.el7
  • eap7-jboss-ec2-eap-samples jboss enterprise application platform 7 7.1.1-3.1.GA_redhat_3.ep7.el6
  • eap7-jboss-ec2-eap-samples jboss enterprise application platform 7.1 7.1.1-3.1.GA_redhat_3.ep7.el7
  • eap7-wss4j jboss enterprise application platform 7.1 2.1.11-1.redhat_1.1.ep7.el7
  • eap7-wildfly jboss enterprise application platform 7.1 7.1.1-4.GA_redhat_2.1.ep7.el7
  • eap7-narayana jboss enterprise application platform 7.1 5.5.31-1.Final_redhat_1.1.ep7.el7
  • eap7-resteasy jboss enterprise application platform 7.1 3.0.25-1.Final_redhat_1.1.ep7.el7

red hat advisories RHSA-2018:0481RHSA-2018:0480RHSA-2018:0479RHSA-2018:0275RHSA-2018:0270RHSA-2018:0271

Is CVE-2017-12174 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-12174 updated cvss 7.5

artemis/hornetq: memory exhaustion via UDP and JGroups discovery

  • Red Hat JBoss EAP 7.1
    fixed: vendor fix RHSA-2018:0478
  • Red Hat JBoss Enterprise Application Platform 6.4
    fixed: vendor fix RHSA-2018:0269
  • Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 5 Server hornetq 2.3.25-25.SP23_redhat_1.1.ep6.el5, jbossweb 7.5.27-1.Final_redhat_1.1.ep6.el5, infinispan 5.2.23-1.Final_redhat_1.1.ep6.el5, jbossws-cxf 4.3.7-1.Final_redhat_1.1.ep6.el5, jboss-as-ee 7.5.19-2.Final_redhat_2.1.ep6.el5, jboss-as-cli 7.5.19-2.Final_redhat_2.1.ep6.el5, +79 more
    fixed: vendor fix RHSA-2018:0271
  • Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 6 Server hornetq 2.3.25-25.SP23_redhat_1.1.ep6.el6, jbossweb 7.5.27-1.Final_redhat_1.1.ep6.el6, infinispan 5.2.23-1.Final_redhat_1.1.ep6.el6, jbossws-cxf 4.3.7-1.Final_redhat_1.1.ep6.el6, jboss-as-ee 7.5.19-2.Final_redhat_2.1.ep6.el6, jboss-ec2-eap 7.5.19-2.Final_redhat_2.ep6.el6, +81 more
    fixed: vendor fix RHSA-2018:0270
  • Red Hat JBoss Enterprise Application Platform 6.4 for RHEL 7 Server hornetq 2.3.25-25.SP23_redhat_1.1.ep6.el7, jbossweb 7.5.27-1.Final_redhat_1.1.ep6.el7, infinispan 5.2.23-1.Final_redhat_1.1.ep6.el7, jbossws-cxf 4.3.7-1.Final_redhat_1.1.ep6.el7, jboss-as-ee 7.5.19-2.Final_redhat_2.1.ep6.el7, jboss-as-cli 7.5.19-2.Final_redhat_2.1.ep6.el7, +79 more
    fixed: vendor fix RHSA-2018:0268
  • Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 6 Server eap7-wss4j 2.1.11-1.redhat_1.1.ep7.el6, eap7-wildfly 7.1.1-4.GA_redhat_2.1.ep7.el6, eap7-apache-cxf 3.1.13-1.redhat_1.1.ep7.el6, eap7-xml-security 2.0.9-1.redhat_1.1.ep7.el6, eap7-jackson-core 2.8.11-1.redhat_1.1.ep7.el6, eap7-undertow 1.4.18-4.SP2_redhat_1.1.ep7.el6, +126 more
    fixed: vendor fix RHSA-2018:0479
  • Red Hat JBoss Enterprise Application Platform 7.1 for RHEL 7 Server eap7-wss4j 2.1.11-1.redhat_1.1.ep7.el7, eap7-wildfly 7.1.1-4.GA_redhat_2.1.ep7.el7, eap7-apache-cxf 3.1.13-1.redhat_1.1.ep7.el7, eap7-xml-security 2.0.9-1.redhat_1.1.ep7.el7, eap7-jackson-core 2.8.11-1.redhat_1.1.ep7.el7, eap7-undertow 1.4.18-4.SP2_redhat_1.1.ep7.el7, +126 more
    fixed: vendor fix RHSA-2018:0481
  • Red Hat JBoss Enterprise Application Platform Continuous Delivery
    fixed: vendor fix RHSA-2020:2561
show 1 more
  • Red Hat JBoss Operations Network 3 hornetq hornetq
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.98% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.hornetq:hornetq-server
<2.4.0.Final
2.4.0.Final
maven org.apache.activemq:artemis-native
<2.4.0
2.4.0

Affected products

  • Red Hat, Inc. HornetQ/Artemis

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.