CVE-2021-4104: Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2
CVE-2021-4104 affects 3 listed versions of Red Hat JBoss EAP, Apache Log4j in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Red Hat JBoss EAP
2 of 104 listed versions are affected. No fixed release is named. The newest release, 8.1.9.1, is not affected.
Apache Log4j
1 of 38 listed versions are affected. No fixed release is named. The newest release, 2.26.1, is not affected.
What it is
JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by Apache Software Foundation on 14 December 2021. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2021-4104 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.