CVE-2022-23302

Deserialization of untrusted data in JMSSink in Apache Log4j 1.x

Description

JMSSink in all versions of Log4j 1.x is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration or if the configuration references an LDAP service the attacker has access to. The attacker can provide a TopicConnectionFactoryBindingName configuration causing JMSSink to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-4104. Note this issue only affects Log4j 1.x when specifically configured to use JMSSink, 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.

Remediation

Workaround:

  • Users should upgrade to Log4j 2 or remove usage of the JMSSink from their configurations.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.27%
Vendor Advisory apache.org Vendor Advisory apache.org
Affected: Apache Software Foundation Apache Log4j 1.x
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-23302?
CVE-2022-23302 has been scored as a high severity vulnerability.
How to fix CVE-2022-23302?
As a workaround for remediating CVE-2022-23302: Users should upgrade to Log4j 2 or remove usage of the JMSSink from their configurations.
Is CVE-2022-23302 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-23302 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-23302?
CVE-2022-23302 affects Apache Software Foundation Apache Log4j 1.x.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.