CVE-2021-20318 json
The HornetQ component of Artemis in EAP 7 was not updated with the fix for CVE-2016-4978.
published 2021-12-23 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-7743
- cvss
- 7.2
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
The HornetQ component of Artemis in EAP 7 was not updated with the fix for CVE-2016-4978. A remote attacker could use this flaw to execute arbitrary code with the permissions of the application using a JMS ObjectMessage.
Patch / fix
- eap7-hornetq jboss enterprise application platform 7.4 2.4.8-1.Final_redhat_00001.1.el7eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.13-1.SP2_redhat_00001.1.el7eap
- eap7-hornetq-commons jboss enterprise application platform 7.4 2.4.8-1.Final_redhat_00001.1.el7eap
- eap7-hornetq-jms-client jboss enterprise application platform 7.4 2.4.8-1.Final_redhat_00001.1.el7eap
- eap7-hornetq-core-client jboss enterprise application platform 7.4 2.4.8-1.Final_redhat_00001.1.el7eap
- eap7-hornetq jboss enterprise application platform 7.4 2.4.8-1.Final_redhat_00001.1.el8eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.13-1.SP2_redhat_00001.1.el8eap
- eap7-hornetq-commons jboss enterprise application platform 7.4 2.4.8-1.Final_redhat_00001.1.el8eap
red hat advisories RHSA-2022:0400RHSA-2022:0401
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-2021-20318 updated cvss 6.6
7: Incomplete fix of CVE-2016-4978 in HornetQ library
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-hornetq 2.4.8-1.Final_redhat_00001.1.el7eap, eap7-hornetq-commons 2.4.8-1.Final_redhat_00001.1.el7eap, eap7-hornetq-jms-client 2.4.8-1.Final_redhat_00001.1.el7eap, eap7-hornetq-core-client 2.4.8-1.Final_redhat_00001.1.el7eapfixed: vendor fix RHSA-2022:0400
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-hornetq 2.4.8-1.Final_redhat_00001.1.el8eap, eap7-hornetq-commons 2.4.8-1.Final_redhat_00001.1.el8eap, eap7-hornetq-jms-client 2.4.8-1.Final_redhat_00001.1.el8eap, eap7-hornetq-core-client 2.4.8-1.Final_redhat_00001.1.el8eapfixed: vendor fix RHSA-2022:0401
-
Red Hat JBoss Enterprise Application Platform hornetq-jms-client 2.4.8.Final-redhat-00001fixed: vendor fix RHSA-2022:0404
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-wildfly 7.4.3-5.GA_redhat_00002.1.el7eap, eap7-azure-storage 8.6.6-1.redhat_00001.1.el7eap, eap7-undertow 2.2.13-1.SP2_redhat_00001.1.el7eap, eap7-jgroups 4.2.15-1.Final_redhat_00001.1.el7eap, eap7-resteasy 3.15.3-1.Final_redhat_00001.1.el7eap, eap7-hibernate 5.3.24-1.Final_redhat_00001.1.el7eap, +54 more Red Hat JBoss EAP 7.4 for RHEL 8 eap7-wildfly 7.4.3-5.GA_redhat_00002.1.el8eap, eap7-azure-storage 8.6.6-1.redhat_00001.1.el8eap, eap7-undertow 2.2.13-1.SP2_redhat_00001.1.el8eap, eap7-jgroups 4.2.15-1.Final_redhat_00001.1.el8eap, eap7-resteasy 3.15.3-1.Final_redhat_00001.1.el8eap, eap7-hibernate 5.3.24-1.Final_redhat_00001.1.el8eap, +52 more Red Hat JBoss Enterprise Application Platform pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, ms 2.0.0, ms 2.1.2, +1452 morenot 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
1.76% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected products
- n/a Artemis in EAP 7
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
bugzilla.redhat.com
/show_bug.cgi?id=2010559
issue-tracking, vendor-advisory
Sources
- CVE List CVE-2021-20318
- NVD CVE-2021-20318
Fencer Vulns 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.