CVE-2022-23302
Deserialization of untrusted data in JMSSink in Apache Log4j 1.x
Also known as GHSA-w9p3-5cr8-m3jj
Mitigation
- Upgrade Apache Log4j 1.x to 2.0-alpha1 or later.
- Vendor workaround: Users should upgrade to Log4j 2 or remove usage of the JMSSink from their configurations.
Who should check
- Projects that depend on Maven package log4j:log4j (<= 1.2.17)
- Projects that depend on Maven package org.zenframework.z8.dependencies.commons:log4j-1.2.17 (<= 2.0)
- Anyone running Apache Software Foundation Apache Log4j 1.x >= 1.0.1, < unspecified; >= unspecified, < 2.0-alpha1
Vulnerability facts
- Affected
- log4j:log4j <= 1.2.17; org.zenframework.z8.dependencies.commons:log4j-1.2.17 <= 2.0
- Fixed in
- Apache Software Foundation Apache Log4j 1.x 2.0-alpha1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 5.63% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- CWE
- CWE-502
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven log4j:log4j | <= 1.2.17 | — | osv |
| Maven org.zenframework.z8.dependencies.commons:log4j-1.2.17 | <= 2.0 | — | osv |
| Apache Software Foundation Apache Log4j 1.x | >= 1.0.1, < unspecified; >= unspecified, < 2.0-alpha1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-23302. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-23302.md Affected: log4j:log4j <= 1.2.17; org.zenframework.z8.dependencies.commons:log4j-1.2.17 <= 2.0 Fixed in: Apache Software Foundation Apache Log4j 1.x 2.0-alpha1 Steps: 1. Search this machine and project for log4j:log4j (Maven), org.zenframework.z8.dependencies.commons:log4j-1.2.17 (Maven), Apache Software Foundation Apache Log4j 1.x: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- http://www.openwall.com/lists/oss-security/2022/01/18/3
- https://security.netapp.com/advisory/ntap-20220217-0006/
- https://www.vicarius.io/vsociety/posts/cve-2022-23302-detect-log4j-1217-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2022-23302-mitigate-log4j-1217-vulnerability
- https://github.com/apache/logging-log4j1
- https://security.netapp.com/advisory/ntap-20220217-0006
FAQ
Is CVE-2022-23302 being exploited?
There is no confirmed exploitation: CVE-2022-23302 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.63% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-23302?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2022-23302?
log4j:log4j <= 1.2.17; org.zenframework.z8.dependencies.commons:log4j-1.2.17 <= 2.0.
Is there a fix for CVE-2022-23302?
Yes. Fixed in Apache Software Foundation Apache Log4j 1.x 2.0-alpha1. Upgrade Apache Log4j 1.x to 2.0-alpha1 or later. Vendor workaround: Users should upgrade to Log4j 2 or remove usage of the JMSSink from their configurations.
How do I check if I'm affected by CVE-2022-23302?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.