{"answers":{"affected":"4 open source packages ship an affected version, including log4j:log4j and org.zenframework.z8.dependencies.commons:log4j-1.2.17. It affects 46 products.","exploited":"There is no known exploitation of CVE-2021-4104 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-4104 is a high-severity vulnerability in Fedoraproject Fedora, published on 14 Dec 2021."},"fix_prompt":"Check this codebase for CVE-2021-4104 and fix it if it is affected.\n\nWhat it is: CVE-2021-4104 is a high-severity vulnerability in Fedoraproject Fedora, published on 14 Dec 2021. \nExploitation: There is no known exploitation of CVE-2021-4104 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- log4j:log4j (Maven): affected from 1.2.0 up to 1.2.17; no fix listed\n- log4j:log4j (Maven): affected from 1.2.0 up to 1.2.17; no fix listed\n- org.zenframework.z8.dependencies.commons:log4j-1.2.17 (Maven): affected all versions up to 2.0; no fix listed\n- org.zenframework.z8.dependencies.commons:log4j-1.2.17 (Maven): affected all versions up to 2.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-4104/ (Markdown: https://insights.sbomify.com/CVE-2021-4104/index.md)","id":"CVE-2021-4104","markdown":"https://insights.sbomify.com/CVE-2021-4104/index.md","name":"CVE-2021-4104","record":{"aliases":["CLEANSTART-2026-FS95827","CLSA-2022-1642429303","CLSA-2022-1642429400","CLSA-2026-1787141079","CLSA-2026-1787546974","DEBIAN-CVE-2021-4104","GHSA-fp5r-v3w9-4333","MINI-5vpg-q97w-mqxp","MINI-phqj-qvjr-xvw4","RHSA-2021:5206","RHSA-2021:5269","ROOT-APP-MAVEN-CVE-2021-4104","SUSE-SU-2021:14866-1","SUSE-SU-2021:4111-1","SUSE-SU-2021:4112-1","SUSE-SU-2021:4115-1","SUSE-SU-2021:4160-1","SUSE-SU-2021:4190-1","SUSE-SU-2022:0126-1","SUSE-SU-2022:0133-1","UBUNTU-CVE-2021-4104","USN-5223-1","USN-5223-2","openSUSE-SU-2021:1612-1","openSUSE-SU-2021:1631-1","openSUSE-SU-2021:4111-1","openSUSE-SU-2021:4112-1","openSUSE-SU-2024:11682-1","openSUSE-SU-2024:11696-1"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[{"product":"log4j","vendor":"apache"},{"product":"fedora","vendor":"fedoraproject"},{"product":"advanced_supply_chain_planning","vendor":"oracle"},{"product":"business_intelligence","vendor":"oracle"},{"product":"business_process_management_suite","vendor":"oracle"},{"product":"communications_eagle_ftp_table_base_retrieval","vendor":"oracle"},{"product":"communications_messaging_server","vendor":"oracle"},{"product":"communications_network_integrity","vendor":"oracle"},{"product":"communications_offline_mediation_controller","vendor":"oracle"},{"product":"communications_unified_inventory_management","vendor":"oracle"},{"product":"e-business_suite_cloud_manager_and_cloud_backup_module","vendor":"oracle"},{"product":"enterprise_manager_base_platform","vendor":"oracle"},{"product":"financial_services_revenue_management_and_billing_analytics","vendor":"oracle"},{"product":"fusion_middleware_common_libraries_and_tools","vendor":"oracle"},{"product":"goldengate","vendor":"oracle"},{"product":"healthcare_data_repository","vendor":"oracle"},{"product":"hyperion_data_relationship_management","vendor":"oracle"},{"product":"hyperion_infrastructure_technology","vendor":"oracle"},{"product":"identity_management_suite","vendor":"oracle"},{"product":"jdeveloper","vendor":"oracle"},{"product":"mysql_enterprise_monitor","vendor":"oracle"},{"product":"retail_allocation","vendor":"oracle"},{"product":"retail_extract_transform_and_load","vendor":"oracle"},{"product":"stream_analytics","vendor":"oracle"},{"product":"timesten_grid","vendor":"oracle"},{"product":"tuxedo","vendor":"oracle"},{"product":"utilities_testing_accelerator","vendor":"oracle"},{"product":"weblogic_server","vendor":"oracle"},{"product":"codeready_studio","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"integration_camel_k","vendor":"redhat"},{"product":"integration_camel_quarkus","vendor":"redhat"},{"product":"jboss_a-mq","vendor":"redhat"},{"product":"jboss_a-mq_streaming","vendor":"redhat"},{"product":"jboss_data_grid","vendor":"redhat"},{"product":"jboss_data_virtualization","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_fuse","vendor":"redhat"},{"product":"jboss_fuse_service_works","vendor":"redhat"},{"product":"jboss_operations_network","vendor":"redhat"},{"product":"jboss_web_server","vendor":"redhat"},{"product":"openshift_application_runtimes","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"},{"product":"process_automation","vendor":"redhat"},{"product":"single_sign-on","vendor":"redhat"},{"product":"software_collections","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":["Maven","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_aus:7.3::server","Red Hat:rhel_aus:7.4::server","Red Hat:rhel_aus:7.6::server","Red Hat:rhel_aus:7.7::server","Red Hat:rhel_e4s:7.6::server","Red Hat:rhel_e4s:7.7::server","Red Hat:rhel_els:6","Red Hat:rhel_software_collections:3::el7","Red Hat:rhel_tus:7.6::server","Red Hat:rhel_tus:7.7::server","SUSE:Enterprise Storage 6","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Development Tools 15 SP2","SUSE:Linux Enterprise Module for Development Tools 15 SP3","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","SUSE:Package Hub 15 SP3","openSUSE:Leap 15.2","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2021-12-14","github_poc":3,"max_poc_stars":20,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-12-14T12:35:08Z","kind":"github_poc","ref":"https://github.com/cckuailong/log4shell_1.x","stars":20,"title":"log4j 1.x RCE Poc -- CVE-2021-4104"},{"date":"2022-01-10T09:01:46Z","kind":"github_poc","ref":"https://github.com/open-AIMS/log4j","stars":0,"title":"Log4j version 1.2.17 without the offending class responsible for CVE-2021-4104."},{"date":"2025-07-11T04:01:42Z","kind":"github_poc","ref":"https://github.com/cuijiung/log4j-CVE-2021-4104","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2","id":"CVE-2021-4104","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"fedoraproject:fedora","products":["fedoraproject:fedora","oracle:business_intelligence","oracle:communications_unified_inventory_management","oracle:enterprise_manager_base_platform","oracle:hyperion_data_relationship_management","oracle:hyperion_infrastructure_technology","oracle:mysql_enterprise_monitor","oracle:weblogic_server","redhat:enterprise_linux","redhat:jboss_enterprise_application_platform","redhat:openshift_container_platform","redhat:single_sign-on","redhat:software_collections"],"type":null,"year":"2021"},"n_packages":198,"n_references":14,"next":{"headline":"Unauthenticated Remote Code Execution on COSLAT Firewall","id":"CVE-2021-4105"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["1.2.0"],"last_affected":["1.2.17"],"package":"log4j:log4j","purl":null,"source":"GHSA-fp5r-v3w9-4333"},{"ecosystem":"Maven","fixed":[],"introduced":["1.2.0"],"last_affected":["1.2.17"],"package":"log4j:log4j","purl":"pkg:maven/log4j/log4j","source":"GHSA-fp5r-v3w9-4333"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["2.0"],"package":"org.zenframework.z8.dependencies.commons:log4j-1.2.17","purl":null,"source":"GHSA-fp5r-v3w9-4333"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["2.0"],"package":"org.zenframework.z8.dependencies.commons:log4j-1.2.17","purl":"pkg:maven/org.zenframework.z8.dependencies.commons/log4j-1.2.17","source":"GHSA-fp5r-v3w9-4333"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:1.2.17-16.el7_3"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:1.2.17-16.el7_3"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:1.2.17-16.el7_3"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.6::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.6::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.6::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_e4s:7.6::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_e4s:7.6::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_e4s:7.6::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_e4s:7.7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_e4s:7.7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_e4s:7.7::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:1.2.14-6.5.el6_10"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:1.2.14-6.5.el6_10"],"introduced":["0"],"last_affected":[],"package":"log4j-debuginfo","purl":"pkg:rpm/redhat/log4j-debuginfo","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:1.2.14-6.5.el6_10"],"introduced":["0"],"last_affected":[],"package":"log4j-javadoc","purl":"pkg:rpm/redhat/log4j-javadoc","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_els:6","fixed":["0:1.2.14-6.5.el6_10"],"introduced":["0"],"last_affected":[],"package":"log4j-manual","purl":"pkg:rpm/redhat/log4j-manual","source":"RHSA-2021:5206"},{"ecosystem":"Red Hat:rhel_software_collections:3::el7","fixed":["0:1.2.17-23.3.el7"],"introduced":["0"],"last_affected":[],"package":"rh-maven36-log4j12","purl":"pkg:rpm/redhat/rh-maven36-log4j12","source":"RHSA-2021:5269"},{"ecosystem":"Red Hat:rhel_software_collections:3::el7","fixed":["0:1.2.17-23.3.el7"],"introduced":["0"],"last_affected":[],"package":"rh-maven36-log4j12-javadoc","purl":"pkg:rpm/redhat/rh-maven36-log4j12-javadoc","source":"RHSA-2021:5269"},{"ecosystem":"Red Hat:rhel_tus:7.6::server","fixed":["0:1.2.17-17.el7_4"],"introduced":["0"],"last_affected":[],"package":"log4j","purl":"pkg:rpm/redhat/log4j","source":"RHSA-2021:5206"}],"prev":{"headline":"Cross-site Scripting (XSS) - Stored in vanessa219/vditor","id":"CVE-2021-4103"},"products":["Apache Log4j 1.x"],"published":"2021-12-14","related":[{"cvss_score":10,"headline":"Apache Log4j2 Remote Code Execution","id":"CVE-2021-44228","kev_date_added":"2021-12-10","published":"2021-12-10"},{"cvss_score":9,"headline":"Apache Log4j2 Deserialization of Untrusted Data","id":"CVE-2021-45046","kev_date_added":"2023-05-01","published":"2021-12-14"},{"cvss_score":9.8,"headline":"SQL injection in JDBC Appender in Apache Log4j V1","id":"CVE-2022-23305","kev_date_added":null,"published":"2022-01-18"},{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in Log4j","id":"CVE-2017-5645","kev_date_added":null,"published":"2017-04-17"},{"cvss_score":8.8,"headline":"Deserialization of untrusted data in JMSSink in Apache Log4j 1.x","id":"CVE-2022-23302","kev_date_added":null,"published":"2022-01-18"},{"cvss_score":7.5,"headline":"Apache Log4j 1.x (EOL) allows DoS in Chainsaw and SocketAppender","id":"CVE-2023-26464","kev_date_added":null,"published":"2023-03-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-28","vendors":["Apache Software Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2021-4104/"}