{"cve":"CVE-2021-4104","nvd":{"published":"2021-12-14T12:15:12.200","modified":"2026-06-17T04:19:02.513","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-502"],"references":["http://www.openwall.com/lists/oss-security/2022/01/18/3","https://access.redhat.com/security/cve/CVE-2021-4104","https://github.com/apache/logging-log4j2/pull/608#issuecomment-990494126","https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0033","https://security.gentoo.org/glsa/202209-02"],"products":["apache:log4j","fedoraproject:fedora","oracle:advanced_supply_chain_planning","oracle:business_intelligence","oracle:business_process_management_suite","oracle:communications_eagle_ftp_table_base_retrieval","oracle:communications_messaging_server","oracle:communications_network_integrity","oracle:communications_offline_mediation_controller","oracle:communications_unified_inventory_management","oracle:e-business_suite_cloud_manager_and_cloud_backup_module","oracle:enterprise_manager_base_platform","oracle:financial_services_revenue_management_and_billing_analytics","oracle:fusion_middleware_common_libraries_and_tools","oracle:goldengate","oracle:healthcare_data_repository","oracle:hyperion_data_relationship_management","oracle:hyperion_infrastructure_technology","oracle:identity_management_suite","oracle:jdeveloper","oracle:mysql_enterprise_monitor","oracle:retail_allocation","oracle:retail_extract_transform_and_load","oracle:stream_analytics","oracle:timesten_grid","oracle:tuxedo","oracle:utilities_testing_accelerator","oracle:weblogic_server","redhat:codeready_studio","redhat:enterprise_linux","redhat:integration_camel_k","redhat:integration_camel_quarkus","redhat:jboss_a-mq","redhat:jboss_a-mq_streaming","redhat:jboss_data_grid","redhat:jboss_data_virtualization","redhat:jboss_enterprise_application_platform","redhat:jboss_fuse","redhat:jboss_fuse_service_works","redhat:jboss_operations_network","redhat:jboss_web_server","redhat:openshift_application_runtimes","redhat:openshift_container_platform","redhat:process_automation","redhat:single_sign-on","redhat:software_collections"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-4104","score":0.80599,"percentile":0.99625,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fp5r-v3w9-4333","url":"https://osv.dev/vulnerability/GHSA-fp5r-v3w9-4333","summary":"JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data","modified":"2023-11-08T04:06:50.238216Z","packages":[{"ecosystem":"Maven","name":"log4j:log4j","purl":"pkg:maven/log4j/log4j","ranges":[">=1.2.0 <=1.2.17"],"fixed":[]},{"ecosystem":"Maven","name":"org.zenframework.z8.dependencies.commons:log4j-1.2.17","purl":"pkg:maven/org.zenframework.z8.dependencies.commons/log4j-1.2.17","ranges":["<=2.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}