CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.5). EPSS 81% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2021-4104 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4104?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4104?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-2021-4104 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 NVD's CPE matches.
| Product | Affected |
|---|---|
| apache:log4j | 1.2 |
| fedoraproject:fedora | 35 |
| redhat:codeready_studio | 12.0 |
| redhat:jboss_a-mq | 6.0.0 |
| redhat:jboss_a-mq | 7 |
| redhat:jboss_data_grid | 7.0.0 |
| redhat:jboss_data_virtualization | 6.0.0 |
| redhat:jboss_enterprise_application_platform | 6.0.0 |
| redhat:jboss_enterprise_application_platform | 7.0 |
| redhat:jboss_fuse | 6.0.0 |
| redhat:jboss_fuse | 7.0.0 |
| redhat:jboss_fuse_service_works | 6.0 |
| redhat:jboss_operations_network | 3.0 |
| redhat:jboss_web_server | 3.0 |
| redhat:openshift_container_platform | 4.6 |
| redhat:openshift_container_platform | 4.7 |
| redhat:openshift_container_platform | 4.8 |
| redhat:process_automation | 7.0 |
| redhat:single_sign-on | 7.0 |
| redhat:enterprise_linux | 6.0 |
| redhat:enterprise_linux | 7.0 |
| redhat:enterprise_linux | 8.0 |
| oracle:advanced_supply_chain_planning | 12.1 |
| oracle:advanced_supply_chain_planning | 12.2 |
| oracle:business_intelligence | 5.9.0.0.0 |
| oracle:business_intelligence | 12.2.1.3.0 |
| oracle:business_intelligence | 12.2.1.4.0 |
| oracle:business_process_management_suite | 12.2.1.3.0 |
| oracle:business_process_management_suite | 12.2.1.4.0 |
| oracle:communications_eagle_ftp_table_base_retrieval | 4.5 |
| oracle:communications_messaging_server | 8.1 |
| oracle:communications_network_integrity | 7.3.6 |
| oracle:communications_offline_mediation_controller | before 12.0.0.4.0 |
| oracle:communications_offline_mediation_controller | 12.0.0.5.0 |
| oracle:communications_unified_inventory_management | 7.3.4 |
| oracle:communications_unified_inventory_management | 7.3.5 |
| oracle:communications_unified_inventory_management | 7.4.1 |
| oracle:communications_unified_inventory_management | 7.4.2 |
| oracle:e-business_suite_cloud_manager_and_cloud_backup_module | 2.2.1.1.1 |
| oracle:enterprise_manager_base_platform | 13.4.0.0 |
| oracle:enterprise_manager_base_platform | 13.5.0.0 |
| oracle:financial_services_revenue_management_and_billing_analytics | 2.7.0.0 |
| oracle:financial_services_revenue_management_and_billing_analytics | 2.7.0.1 |
| oracle:financial_services_revenue_management_and_billing_analytics | 2.8.0.0 |
| oracle:fusion_middleware_common_libraries_and_tools | 12.2.1.4.0 |
| oracle:healthcare_data_repository | 8.1.0 |
| oracle:hyperion_data_relationship_management | before 11.2.8.0 |
| oracle:hyperion_infrastructure_technology | before 11.2.8.0 |
| oracle:identity_management_suite | 12.2.1.3.0 |
| oracle:identity_management_suite | 12.2.1.4.0 |
| oracle:jdeveloper | 12.2.1.3.0 |
| oracle:mysql_enterprise_monitor | through 8.0.29 |
| oracle:retail_allocation | 14.1.3.2 |
| oracle:retail_allocation | 15.0.3.1 |
| oracle:retail_allocation | 16.0.3 |
| oracle:retail_allocation | 19.0.1 |
| oracle:retail_extract_transform_and_load | 13.2.5 |
| oracle:tuxedo | 12.2.2.0.0 |
| oracle:utilities_testing_accelerator | 6.0.0.1.1 |
| oracle:utilities_testing_accelerator | 6.0.0.2.2 |
| oracle:utilities_testing_accelerator | 6.0.0.3.1 |
| oracle:weblogic_server | 12.2.1.3.0 |
| oracle:weblogic_server | 12.2.1.4.0 |
| oracle:weblogic_server | 14.1.1.0.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fp5r-v3w9-4333 | Maven | log4j:log4j | >=1.2.0 <=1.2.17 | no fix published |
| GHSA-fp5r-v3w9-4333 | 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-2021-4104 |
| Ubuntu | 18.04:LTS | apache-log4j1.2 | 1.2.17-8+deb10u1ubuntu0.1 | UBUNTU-CVE-2021-4104 USN-5223-1 |
| Ubuntu | 20.04:LTS | apache-log4j1.2 | 1.2.17-9ubuntu0.1 | UBUNTU-CVE-2021-4104 USN-5223-1 |
| Ubuntu | Pro:14.04:LTS | apache-log4j1.2 | 1.2.17-4ubuntu3+esm1 | UBUNTU-CVE-2021-4104 |
| Ubuntu | Pro:16.04:LTS | apache-log4j1.2 | 1.2.17-7ubuntu1+esm1 | UBUNTU-CVE-2021-4104 USN-5223-2 |
| 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-17.el7_4 | RHSA-2021:5206 |
| Red Hat | enterprise_linux:7::computenode | log4j-manual, log4j-javadoc | 0:1.2.17-17.el7_4 | RHSA-2021:5206 |
| 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.6.1 | SUSE-SU-2021:4111-1 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.40.1 | SUSE-SU-2021:4190-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.6.1 | SUSE-SU-2021:4115-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-aodh | 5.1.1~dev7-12.34.1 | SUSE-SU-2021:4190-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.35.1 | SUSE-SU-2021:4190-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.32.1 | SUSE-SU-2021:4190-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.36.1 | SUSE-SU-2021:4190-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-cinder | 11.2.3~dev29-14.42.1 | SUSE-SU-2022:0355-1 |
| 121 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.2 | log4j12, log4j12-mini | 1.2.17-lp152.3.3.2 | openSUSE-SU-2021:1612-1 |
| openSUSE | Leap 15.3 | kafka, kafka-kit | 2.1.0-bp153.2.3.1 | openSUSE-SU-2021:1631-1 |
| 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.6.1 | openSUSE-SU-2021:4111-1 |
| openSUSE | Leap 15.3 | log4j12 | 1.2.17-4.3.1 | openSUSE-SU-2021:4112-1 |
| openSUSE | Tumbleweed | kafka-kit | 2.1.0-2.1 | openSUSE-SU-2024:11696-1 |
| openSUSE | Tumbleweed | log4j | 2.16.0-2.1 | openSUSE-SU-2024:11681-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 Moderate.
Based on the conditions to be exploitable (see details below), the risk is much lower than Log4j 2.x and Red Hat has assessed this to be Moderate severity. This flaw has been filed for Log4j 1.x, and the corresponding flaw information for Log4j 2.x is available at: https://access.redhat.com/security/cve/CVE-2021-44228
Note this flaw ONLY affects applications which are specifically configured to use JMSAppender, which is not the default, or when the attacker has write access to the Log4j configuration for adding JMSAppender to the attacker's JNDI LDAP endpoint.
If the Log4j configuration is set TopicBindingName or TopicConnectionFactoryBindingName configurations allowing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228 Log4j 2.x, Log4j 1.x is vulnerable. However, the attack vector is reduced as it depends on having write access, which is not a standard configuration rather than untrusted user input. These are sufficient factors beyond the attacker's control.
The tomcat package shipped with Red Hat Enterprise Linux does not include log4j but it does include a default configuration for log4j, log4j.properties, which could be used with tomcat if users choose to install and configure the library. The JMSAppender is not enabled by default, and the permissions of the file can only be modified as root.
Red Hat Virtualization ships log4j12-1.2.17, but it is used and configured in a way which makes this flaw not possible to exploit. Therefore impact is rated Low.
These are the possible mitigations for this flaw for releases version 1.x:
- Comment out or remove JMSAppender in the Log4j configuration if it is used
- Remove the JMSAppender class from the classpath. For example:
```
zip -q -d log4j-*.jar org/apache/log4j/net/JMSAppender.class
```
- Restrict access for the OS user on the platform running the application to prevent modifying the Log4j configuration by the attacker.
| 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 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.5.el6_10 | Fixed 2021-12-20 | RHSA-2021:5206 |
| Red Hat Enterprise Linux 7 | log4j-0:1.2.17-17.el7_4 | Fixed 2021-12-20 | RHSA-2021:5206 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | log4j-0:1.2.17-16.el7_3 | Fixed 2021-12-20 | RHSA-2021:5206 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | log4j-0:1.2.17-17.el7_4 | Fixed 2021-12-20 | RHSA-2021:5206 |
| Red Hat Enterprise Linux 7.6 Advanced Update Support | log4j-0:1.2.17-17.el7_4 | Fixed 2021-12-20 | RHSA-2021:5206 |
| Red Hat Enterprise Linux 7.6 Telco Extended Update Support | log4j-0:1.2.17-17.el7_4 | Fixed 2021-12-20 | RHSA-2021:5206 |
| Red Hat Enterprise Linux 7.6 Update Services for SAP Solutions | log4j-0:1.2.17-17.el7_4 | Fixed 2021-12-20 | RHSA-2021:5206 |
| 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 | |
| 198 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-2021-4104.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.