7.5
High
CVE-2021-4104 JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the…
Description
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Apache Log4j 1.x | Versions not published |
References
- www.cve.org www.cve.org
- github.com github.com
- access.redhat.com access.redhat.com
- VU#930724 www.kb.cert.org
- [oss-security] 20220118 CVE-2022-23302: Deserialization of untrusted data in JMSSink in Apache Log4j 1.x www.openwall.com
- www.oracle.com www.oracle.com
- psirt.global.sonicwall.com psirt.global.sonicwall.com
- security.netapp.com security.netapp.com
- www.oracle.com www.oracle.com
- www.oracle.com www.oracle.com
- GLSA-202209-02 security.gentoo.org
- GLSA-202310-16 security.gentoo.org
- GLSA-202312-02 security.gentoo.org
- GLSA-202312-04 security.gentoo.org
Timeline
- Published
- Last modified
Other CVEs of Apache Log4j 1.x
The 4 CVEs of Apache Log4j 1.x →
CVE-2022-23307
CVE-2020-9493 identified a deserialization issue that was present in Apache Chainsaw
Not rated
CVE-2022-23305
By design, the JDBCAppender in Log4j 1.2.x accepts an SQL statement as a configuration parameter where the values to…
Not rated
CVE-2022-23302
JMSSink in all versions of Log4j 1.x is vulnerable to deserialization of untrusted data when the attacker has write…
Not rated