Vulnerability · Published Jan 18, 2022 · Assigned by apache
CVE-2022-23302Deserialization of untrusted data in JMSSink in Apache Log4j 1.x
High 8.8
In plain English
A high-severity unsafe deserialization in Apache Log4j 1.x from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 63.8% (higher than 99.2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | parfait | 0.5.4-4.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | parfait | 0.5.4-4.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | parfait-examples | 0.5.4-4.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | parfait-examples | 0.5.4-4.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | parfait-javadoc | 0.5.4-4.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | parfait-javadoc | 0.5.4-4.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | pcp-parfait-agent | 0.5.4-4.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | pcp-parfait-agent | 0.5.4-4.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | si-units | 0.6.5-2.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | si-units | 0.6.5-2.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | si-units-javadoc | 0.6.5-2.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | si-units-javadoc | 0.6.5-2.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | unit-api | 1.0-5.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | unit-api | 1.0-5.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | unit-api-javadoc | 1.0-5.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | unit-api-javadoc | 1.0-5.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | uom-lib | 1.0.1-6.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | uom-lib | 1.0.1-6.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | uom-lib-javadoc | 1.0.1-6.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | uom-lib-javadoc | 1.0.1-6.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | uom-parent | 1.0.3-3.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | uom-parent | 1.0.3-3.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | uom-se | 1.0.4-3.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | uom-se | 1.0.4-3.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | uom-se-javadoc | 1.0.4-3.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | uom-se-javadoc | 1.0.4-3.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | uom-systems | 0.7-1.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux:8 | uom-systems | 0.7-1.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | uom-systems-javadoc | 0.7-1.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux:8 | uom-systems-javadoc | 0.7-1.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| Debian:12 | apache-log4j1.2 | 1.2.17-11 | DEBIAN-CVE-2022-23302 |
| Debian:13 | apache-log4j1.2 | 1.2.17-11 | DEBIAN-CVE-2022-23302 |
| Debian:14 | apache-log4j1.2 | 1.2.17-11 | DEBIAN-CVE-2022-23302 |
| Maven | log4j:log4j | no fix listed | GHSA-w9p3-5cr8-m3jj |
| Maven | org.zenframework.z8.dependencies.commons:log4j-1.2.17 | no fix listed | GHSA-w9p3-5cr8-m3jj |
| Rocky Linux:8 | parfait | 0:0.5.4-4.module+el8.5.0+728+553fbdb8 | RLSA-2022:0290 |
| Rocky Linux:8 | si-units | 0:0.6.5-2.module+el8.3.0+214+edf13b3f | RLSA-2022:0290 |
| Rocky Linux:8 | unit-api | 0:1.0-5.module+el8.3.0+214+edf13b3f | RLSA-2022:0290 |
| Rocky Linux:8 | uom-lib | 0:1.0.1-6.module+el8.3.0+214+edf13b3f | RLSA-2022:0290 |
| Rocky Linux:8 | uom-parent | 0:1.0.3-3.module+el8.3.0+214+edf13b3f | RLSA-2022:0290 |
| Rocky Linux:8 | uom-se | 0:1.0.4-3.module+el8.3.0+214+edf13b3f | RLSA-2022:0290 |
| Rocky Linux:8 | uom-systems | 0:0.7-1.module+el8.3.0+214+edf13b3f | RLSA-2022:0290 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Log4j 1.x | 1.0.1 – before unspecifiedunspecified – before 2.0-alpha1 |
Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://lists.apache.org/thread/bsr3l5qz4g0myrjhy9h67bcxodpkwj4w x_refsource_MISC
- https://logging.apache.org/log4j/1.2/index.html x_refsource_MISC
- [oss-security] 20220118 CVE-2022-23302: Deserialization of untrusted data in JMSSink in Apache Log4j 1.x mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220217-0006/ x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- 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