CVE-2021-45046
CONFIRMED EXPLOITEDKNOWN RANSOMWARE CAMPAIGN USEApache Log4j2 Deserialization of Untrusted Data Vulnerability
Is Apache Log4j2 affected by CVE-2021-45046?
Apache Log4j2 is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2021-45046, added on 2023-05-01. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (39 vulnerable CPE entries): apache log4j, cvat computer_vision_annotation_tool, intel audio_development_kit, intel datacenter_manager, intel genomics_kernel_library and intel oneapi and 17 further CPE product entries.
Published CPE version bounds mark releases below 2021-12-13 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2023-05-22, and CISA records known ransomware campaign use against it.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2021-44228Same productApache Log4j2
Apache Log4j2 Remote Code Execution Vulnerability
- CVE-2026-129448Same vendorApache Roller
Apache Roller Deserialization of Untrusted Data Vulnerability
- CVE-2026-90436Same vendorApache Axis
Apache Axis Unsafe Reflection Vulnerability
- CVE-2016-3081Same vendorApache Struts
Apache Struts Command Injection Vulnerability
- CVE-2023-28432Neighboring entryMinIO MinIO
MinIO Information Disclosure Vulnerability
- CVE-2023-1389Neighboring entryTP-Link Archer AX21
TP-Link Archer AX-21 Command Injection Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Apache Log4j2 contains a deserialization of untrusted data vulnerability due to the incomplete fix of CVE-2021-44228, where the Thread Context Lookup Pattern is vulnerable to remote code execution in certain non-default configurations.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2023-05-01. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Known".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Log4j2 has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Scope Change (S:C) in CVSS vector: exploitation can cross trust boundaries beyond the vulnerable component itself (e.g., container/sandbox/hypervisor escape or downstream host impact).
- HTTP / web application surface (Apache Log4j2): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Inventory all hosts running Apache Log4j2 and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://www.openwall.com/lists/oss-security/2021/12/14/4Mailing ListMitigationThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/12/15/3Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/12/18/1Mailing ListThird Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdfThird Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdfThird Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdfThird Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdfThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY/Mailing ListRelease Notes
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ/Mailing ListRelease Notes
- https://logging.apache.org/log4j/2.x/security.htmlMitigationRelease NotesVendor Advisory
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032Third Party Advisory
- https://security.gentoo.org/glsa/202310-16Third Party Advisory
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbdThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2021-44228Not Applicable
- https://www.debian.org/security/2021/dsa-5022Third Party Advisory
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.htmlThird Party Advisory
- https://www.kb.cert.org/vuls/id/930724Third Party AdvisoryUS Government Resource
- https://www.oracle.com/security-alerts/alert-cve-2021-44228.htmlThird Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlThird Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/12/14/4Mailing ListMitigationThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/12/15/3Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2021/12/18/1Mailing ListThird Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdfThird Party Advisory
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine