{"cve":"CVE-2021-45046","nvd":{"published":"2021-12-14T19:15:07.733","modified":"2026-06-17T04:13:05.570","status":"Analyzed","description":"It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-917"],"references":["http://www.openwall.com/lists/oss-security/2021/12/14/4","http://www.openwall.com/lists/oss-security/2021/12/15/3","http://www.openwall.com/lists/oss-security/2021/12/18/1","https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf","https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf"],"products":["apache:log4j","cvat:computer_vision_annotation_tool","debian:debian_linux","fedoraproject:fedora","intel:audio_development_kit","intel:datacenter_manager","intel:genomics_kernel_library","intel:oneapi","intel:secure_device_onboard","intel:sensor_solution_firmware_development_kit","intel:system_debugger","intel:system_studio","siemens:6bk1602-0aa12-0tp0_firmware","siemens:6bk1602-0aa22-0tp0_firmware","siemens:6bk1602-0aa32-0tp0_firmware","siemens:6bk1602-0aa42-0tp0_firmware","siemens:6bk1602-0aa52-0tp0_firmware","siemens:captial","siemens:comos","siemens:desigo_cc_advanced_reports","siemens:desigo_cc_info_center","siemens:e-car_operation_center","siemens:energy_engage","siemens:energyip","siemens:energyip_prepay","siemens:gma-manager","siemens:head-end_system_universal_device_integration_system","siemens:industrial_edge_management","siemens:industrial_edge_management_hub","siemens:logo\\!_soft_comfort","siemens:mendix","siemens:mindsphere","siemens:navigator","siemens:nx","siemens:opcenter_intelligence","siemens:operation_scheduler","siemens:sentron_powermanager","siemens:siguard_dsa","siemens:sipass_integrated","siemens:siveillance_command","siemens:siveillance_control_pro","siemens:siveillance_identity","siemens:siveillance_vantage","siemens:siveillance_viewpoint","siemens:solid_edge_cam_pro","siemens:solid_edge_harness_design","siemens:spectrum_power_4","siemens:spectrum_power_7","siemens:sppa-t3000_ses3000_firmware","siemens:teamcenter"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-45046","score":0.99977,"percentile":0.9998,"date":"2026-11-01"},"kev":{"cve":"CVE-2021-45046","date_added":"2023-05-01","due_date":"2023-05-22","vendor":"Apache","product":"Log4j2","known_ransomware":true},"osv":[{"id":"GHSA-7rjr-3q55-vv33","url":"https://osv.dev/vulnerability/GHSA-7rjr-3q55-vv33","summary":"Incomplete fix for Apache Log4j vulnerability","modified":"2026-10-02T20:30:05.438504645Z","packages":[{"ecosystem":"Maven","name":"org.apache.logging.log4j:log4j-core","purl":"pkg:maven/org.apache.logging.log4j/log4j-core","ranges":[">=2.13.0 <2.16.0"],"fixed":["2.16.0"]},{"ecosystem":"Maven","name":"org.apache.logging.log4j:log4j-core","purl":"pkg:maven/org.apache.logging.log4j/log4j-core","ranges":[">=2.4.0 <2.12.2"],"fixed":["2.12.2"]},{"ecosystem":"Maven","name":"org.ops4j.pax.logging:pax-logging-log4j2","purl":"pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2","ranges":[">=1.8.0 <1.9.2"],"fixed":["1.9.2"]},{"ecosystem":"Maven","name":"org.ops4j.pax.logging:pax-logging-log4j2","purl":"pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2","ranges":[">=1.10.0 <1.10.8"],"fixed":["1.10.8"]},{"ecosystem":"Maven","name":"org.ops4j.pax.logging:pax-logging-log4j2","purl":"pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2","ranges":[">=1.11.0 <1.11.11"],"fixed":["1.11.11"]},{"ecosystem":"Maven","name":"org.ops4j.pax.logging:pax-logging-log4j2","purl":"pkg:maven/org.ops4j.pax.logging/pax-logging-log4j2","ranges":[">=2.0.0 <2.0.12"],"fixed":["2.0.12"]},{"ecosystem":"Maven","name":"org.apache.logging.log4j:log4j-core","purl":"pkg:maven/org.apache.logging.log4j/log4j-core","ranges":["<2.3.1"],"fixed":["2.3.1"]}]}],"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."]}