# CVE-2021-4104: Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 80.6%, higher than 99% of CVEs (2026-12-01)
- Published: 2021-12-14T00:00:00.000Z
- Modified: 2026-06-17T04:19:02.513Z
- Also known as: GHSA-fp5r-v3w9-4333
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## Description

JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Log4j 1.x: Apache Log4j 1.2 1.2.x
- log4j:log4j (Maven): from 1.2.0 up to 1.2.17
- org.zenframework.z8.dependencies.commons:log4j-1.2.17 (Maven): up to 2.0
- apache log4j: 1.2
- fedoraproject fedora: 35
- redhat codeready_studio: 12.0
- redhat integration_camel_k: no versions given
- redhat integration_camel_quarkus: no versions given
- redhat jboss_a-mq: 6.0.0; 7
- redhat jboss_a-mq_streaming: no versions given
- redhat jboss_data_grid: 7.0.0
- redhat jboss_data_virtualization: 6.0.0
- redhat jboss_enterprise_application_platform: 6.0.0; 7.0
- redhat jboss_fuse: 6.0.0; 7.0.0
- redhat jboss_fuse_service_works: 6.0
- redhat jboss_operations_network: 3.0
- redhat jboss_web_server: 3.0
- redhat openshift_application_runtimes: no versions given
- redhat openshift_container_platform: 4.6; 4.7; 4.8
- redhat process_automation: 7.0
- redhat single_sign-on: 7.0
- redhat software_collections: no versions given
- redhat enterprise_linux: 6.0; 7.0; 8.0
- oracle advanced_supply_chain_planning: 12.1; 12.2
- oracle business_intelligence: 5.9.0.0.0; 12.2.1.3.0; 12.2.1.4.0
- oracle business_process_management_suite: 12.2.1.3.0; 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; 12.0.0.5.0
- oracle communications_unified_inventory_management: 7.3.4; 7.3.5; 7.4.1; 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; 13.5.0.0
- oracle financial_services_revenue_management_and_billing_analytics: 2.7.0.0; 2.7.0.1; 2.8.0.0
- oracle fusion_middleware_common_libraries_and_tools: 12.2.1.4.0
- oracle goldengate: no versions given
- 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; 12.2.1.4.0
- oracle jdeveloper: 12.2.1.3.0
- oracle mysql_enterprise_monitor: up to 8.0.29
- oracle retail_allocation: 14.1.3.2; 15.0.3.1; 16.0.3; 19.0.1
- oracle retail_extract_transform_and_load: 13.2.5
- oracle stream_analytics: no versions given
- oracle timesten_grid: no versions given
- oracle tuxedo: 12.2.2.0.0
- oracle utilities_testing_accelerator: 6.0.0.1.1; 6.0.0.2.2; 6.0.0.3.1
- oracle weblogic_server: 12.2.1.3.0; 12.2.1.4.0; 14.1.1.0.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://www.cve.org/CVERecord?id=CVE-2021-44228> (web)
- <https://github.com/apache/logging-log4j2/pull/608#issuecomment-990494126> (web)
- <https://access.redhat.com/security/cve/CVE-2021-4104> (web)
- <https://www.kb.cert.org/vuls/id/930724> (third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/01/18/3> (mailing-list, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (web)
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0033> (web)
- <https://security.netapp.com/advisory/ntap-20211223-0007/>
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (web)
- <https://security.gentoo.org/glsa/202209-02> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202310-16> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202312-02> (vendor-advisory, web)
- <https://security.gentoo.org/glsa/202312-04> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4104> (advisory)
- <https://github.com/apache/logging-log4j2> (package)
- <https://security.netapp.com/advisory/ntap-20211223-0007> (web)

## Sources

- CVE List: [CVE-2021-4104](https://www.cve.org/CVERecord?id=CVE-2021-4104), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-fp5r-v3w9-4333](https://github.com/advisories/GHSA-fp5r-v3w9-4333), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-4104](https://nvd.nist.gov/vuln/detail/CVE-2021-4104), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4104 · Whole record: https://cve.day/CVE-2021-4104.json · Rebuilt by cve.day 2026-11-25T22:58:05.964Z
