CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 67% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2022-23305 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23305?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23305?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-23305 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Apache Software Foundation Apache Log4j 1.x | from 1.2.1 before unspecified |
| Apache Software Foundation Apache Log4j 1.x | before 2.0-alpha1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-65fg-84f6-3jq3 | Maven | log4j:log4j | <=1.2.17 | no fix published |
| GHSA-65fg-84f6-3jq3 | Maven | org.zenframework.z8.dependencies.commons:log4j-1.2.17 | <=2.0 | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | apache-log4j1.2 | 1.2.17-7+deb9u2 | DLA-2905-1 |
| Debian | 12, 13, 14 | apache-log4j1.2 | 1.2.17-11 | DEBIAN-CVE-2022-23305 |
| Ubuntu | 18.04:LTS | apache-log4j1.2 | 1.2.17-8+deb10u1ubuntu0.2 | UBUNTU-CVE-2022-23305 USN-5998-1 |
| Ubuntu | 20.04:LTS | apache-log4j1.2 | 1.2.17-9ubuntu0.2 | UBUNTU-CVE-2022-23305 USN-5998-1 |
| Ubuntu | Pro:14.04:LTS | apache-log4j1.2 | 1.2.17-4ubuntu3+esm2 | UBUNTU-CVE-2022-23305 USN-7590-1 |
| Ubuntu | Pro:16.04:LTS | apache-log4j1.2 | 1.2.17-7ubuntu1+esm1 | UBUNTU-CVE-2022-23305 USN-5998-1 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation and 7 more | log4j, log4j-manual, log4j-javadoc | 0:1.2.17-18.el7_4 | RHSA-2022:0442 |
| Red Hat | enterprise_linux:7::computenode | log4j-manual, log4j-javadoc | 0:1.2.17-18.el7_4 | RHSA-2022:0442 |
| Red Hat | enterprise_linux:8::appstream | parfait, parfait-javadoc, parfait-examples and 1 more | 0:0.5.4-4.module+el8.5.0+13988+de2b8c0b | RHSA-2022:0290 |
| Red Hat | enterprise_linux:8::appstream | si-units, si-units-javadoc | 0:0.6.5-2.module+el8+2463+615f6896 | RHSA-2022:0290 |
| Red Hat | enterprise_linux:8::appstream | unit-api, unit-api-javadoc | 0:1.0-5.module+el8+2463+615f6896 | RHSA-2022:0290 |
| Red Hat | enterprise_linux:8::appstream | uom-lib, uom-lib-javadoc | 0:1.0.1-6.module+el8+2463+615f6896 | RHSA-2022:0290 |
| Red Hat | enterprise_linux:8::appstream | uom-parent | 0:1.0.3-3.module+el8+2463+615f6896 | RHSA-2022:0290 |
| Red Hat | enterprise_linux:8::appstream | uom-se, uom-se-javadoc | 0:1.0.4-3.module+el8+2463+615f6896 | RHSA-2022:0290 |
| Red Hat | enterprise_linux:8::appstream | uom-systems, uom-systems-javadoc | 0:0.7-1.module+el8+2463+615f6896 | RHSA-2022:0290 |
| Red Hat | jboss_enterprise_application_platform:6::el6 | jboss-as-ee, jboss-as-cli, jboss-as-cmp and 59 more | 0:7.5.24-2.Final_redhat_00001.1.ep6.el6 | RHSA-2022:5459 |
| Red Hat | jboss_enterprise_application_platform:6::el6 | jbossas-javadocs | 0:7.5.24-1.Final_redhat_00001.1.ep6.el6 | RHSA-2022:5459 |
| Red Hat | jboss_enterprise_application_platform:6::el6 | jbossts | 1:4.17.45-2.Final_redhat_2.1.ep6.el6 | RHSA-2022:5459 |
| 65 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 more | log4j | 1.2.17-5.9.1 | SUSE-SU-2022:0214-1 |
| SUSE | Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 more | log4j12 | 1.2.17-4.9.1 | SUSE-SU-2022:0226-1 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.46.1 | SUSE-SU-2022:0355-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 more | log4j | 1.2.15-126.9.1 | SUSE-SU-2022:0212-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-aodh | 5.1.1~dev7-12.40.1 | SUSE-SU-2022:0355-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-barbican | 5.0.2~dev3-12.41.1 | SUSE-SU-2022:0355-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-ceilometer | 9.0.8~dev7-12.38.1 | SUSE-SU-2022:0355-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-cinder | 11.2.3~dev29-14.42.1 | SUSE-SU-2022:0355-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-designate | 5.0.3~dev7-12.39.1 | SUSE-SU-2022:0355-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-freezer | 5.0.0.0~xrc2~dev2-10.36.1 | SUSE-SU-2022:0355-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-glance | 15.0.3~dev3-12.39.1 | SUSE-SU-2022:0355-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-heat | 9.0.8~dev22-12.43.1 | SUSE-SU-2022:0355-1 |
| 54 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3 | kafka, kafka-kit | 2.1.0-bp153.2.6.1 | openSUSE-SU-2022:0038-1 |
| openSUSE | Leap 15.3 | log4j | 1.2.17-5.9.1 | openSUSE-SU-2022:0214-1 |
| openSUSE | Leap 15.3 | log4j12 | 1.2.17-4.9.1 | openSUSE-SU-2022:0226-1 |
| AlmaLinux | 8 | parfait, parfait-javadoc, parfait-examples and 1 more | 0.5.4-4.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux | 8 | parfait, parfait-javadoc, parfait-examples and 1 more | 0.5.4-4.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux | 8 | si-units, si-units-javadoc | 0.6.5-2.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux | 8 | si-units, si-units-javadoc | 0.6.5-2.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux | 8 | unit-api, unit-api-javadoc | 1.0-5.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux | 8 | unit-api, unit-api-javadoc | 1.0-5.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux | 8 | uom-lib, uom-lib-javadoc | 1.0.1-6.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux | 8 | uom-lib, uom-lib-javadoc | 1.0.1-6.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-parent | 1.0.3-3.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| AlmaLinux | 8 | uom-se, uom-se-javadoc | 1.0.4-3.module_el8.5.0+235+62ea7738 | ALSA-2022:0290 |
| AlmaLinux | 8 | uom-se, uom-se-javadoc | 1.0.4-3.module_el8.5.0+2610+de2b8c0b | ALSA-2022:0290 |
| 2 more for AlmaLinux in the JSON. | ||||
| 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 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
Note this issue only affects Log4j 1.x when specifically configured to use the JDBCAppender, which is not the default.
Red Hat Satellite bundles log4j-over-slf4j with Candlepin, however, product is not affected as it uses logback framework for logging.
Red Hat Virtualization and OpenShift Container Platform in the OCP Metering stack (the Hive/Presto/Hadoop components) ship a vulnerable version of the log4j package, however JDBCAppender is not used. Therefore the impact of this vulnerability for these products is rated Low.
These are the possible mitigations for this flaw for releases version 1.x:
- Comment out or remove JDBCAppender in the Log4j configuration if it is used
- Remove the JDBCAppender class from the server's jar files. For example:
```
zip -q -d log4j-*.jar org/apache/log4j/jdbc/JDBCAppender.class
```
| Product | Package | State | Advisory |
|---|---|---|---|
| EAP 6.4.24 release | Fixed 2022-06-30 | RHSA-2022:5458 | |
| EAP 6.4 log4j async | log4j | Fixed 2022-02-03 | RHSA-2022:0437 |
| Red Hat AMQ Streams 1.6.7 | Fixed 2022-02-08 | RHSA-2022:0467 | |
| Red Hat AMQ Streams 2.0.1 | log4j | Fixed 2022-02-08 | RHSA-2022:0469 |
| Red Hat Data Grid 7.3.9 | log4j | Fixed 2022-02-03 | RHSA-2022:0430 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support | log4j-0:1.2.14-6.6.el6_10 | Fixed 2022-02-07 | RHSA-2022:0442 |
| Red Hat Enterprise Linux 7 | log4j-0:1.2.17-18.el7_4 | Fixed 2022-02-07 | RHSA-2022:0442 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | log4j-0:1.2.17-17.el7_3 | Fixed 2022-02-07 | RHSA-2022:0442 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | log4j-0:1.2.17-18.el7_4 | Fixed 2022-02-07 | RHSA-2022:0442 |
| Red Hat Enterprise Linux 7.6 Advanced Update Support | log4j-0:1.2.17-18.el7_4 | Fixed 2022-02-07 | RHSA-2022:0442 |
| A-MQ Clients 2 | log4j | Affected | |
| Red Hat AMQ Broker 7 | log4j | Affected | |
| Red Hat build of Quarkus | log4j | Not affected | |
| Red Hat Data Grid 8 | log4j | Not affected | |
| Red Hat Decision Manager 7 | log4j | Not affected | |
| Red Hat Enterprise Linux 7 | tomcat | Not affected | |
| Red Hat Integration Camel K 1 | log4j | Not affected | |
| Red Hat Integration Camel Quarkus 1 | log4j | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | log4j | Not affected | |
| Red Hat JBoss Fuse Service Works 6 | log4j | Out of support scope | |
| 193 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-23305.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.