CVE-2021-45046Apache Log4j2 Deserialization of Untrusted Data Vulnerability
CVSS score
9.0
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
100.0%
100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 1 May 2023.
US federal deadline to fix: 22 May 2023.
Ransomware
Official 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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 1 May 2023.
US federal agencies must fix it by 22 May 2023. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Apache Log4j, cvat Computer Vision Annotation Tool, Intel Audio Development Kit, Intel Datacenter Manager, Intel Genomics Kernel Library and compare its version with the affected versions.
Update to a fixed version
- Update Log4j to 2.12.2, 2.16.0 or later, on the branch you run.
- Update Captial to 2019.1 or later.
- Update E-car Operation Center to 2021-12-13 or later.
- Update Gma-manager to 8.6.2j-398 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Log4j | ≥ 2.0.1, < 2.12.2 · ≥ 2.13.0, < 2.16.0 · 2.0 |
| cvat Computer Vision Annotation Tool | Not specified |
| Intel Audio Development Kit | Not specified |
| Intel Datacenter Manager | Not specified |
| Intel Genomics Kernel Library | Not specified |
| Intel Oneapi | Not specified |
| Intel Secure Device Onboard | Not specified |
| Intel Sensor Solution Firmware Development Kit | Not specified |
| Intel System Debugger | Not specified |
| Intel System Studio | Not specified |
| Siemens Sppa-t3000 Ses3000 Firmware | Not specified |
| Siemens Captial | < 2019.1 · 2019.1 |
| Siemens Comos | Not specified |
| Siemens Desigo Cc Advanced Reports | 4.0 · 4.1 · 4.2 · 5.0 · 5.1 |
| Siemens Desigo Cc Info Center | 5.0 · 5.1 |
| Siemens E-car Operation Center | < 2021-12-13 |
| Siemens Energy Engage | 3.1 |
| Siemens Energyip | 8.5 · 8.6 · 8.7 · 9.0 |
| Siemens Energyip Prepay | 3.7 · 3.8 |
| Siemens Gma-manager | < 8.6.2j-398 |
| Siemens Head-end System Universal Device Integration System | Not specified |
| Siemens Industrial Edge Management | Not specified |
| Siemens Industrial Edge Management Hub | < 2021-12-13 |
| Siemens Logo! Soft Comfort | Not specified |
| Siemens Mendix | Not specified |
Weakness
- CWE-917 expression language injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2021-45046 being exploited?
Yes. CISA added CVE-2021-45046 to its Known Exploited Vulnerabilities catalog on 1 May 2023, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-45046?
CVE-2021-45046 has a CVSS 3.1 base score of 9.0 (critical).
Which versions are affected?
Apache Log4j (≥ 2.0.1, < 2.12.2; ≥ 2.13.0, < 2.16.0; 2.0), Cvat Computer Vision Annotation Tool, Intel Audio Development Kit, Intel Datacenter Manager, Intel Genomics Kernel Library, Intel Oneapi
Is there a patch for CVE-2021-45046?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.openwall.com/lists/oss-security/2021/12/14/4(Mailing List, Mitigation, Third Party Advisory)
- logging.apache.org/log4j/2.x/security.html(Mitigation, Release Notes, Vendor Advisory)
- www.oracle.com/security-alerts/cpujan2022.html(Patch, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/12/15/3(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2021/12/18/1(Mailing List, Third Party Advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf(Third Party Advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf(Third Party Advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf(Third Party Advisory)
- cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf(Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY/(Mailing List, Release Notes)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ/(Mailing List, Release Notes)
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032(Third Party Advisory)
- security.gentoo.org/glsa/202310-16(Third Party Advisory)
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd(Third Party Advisory)
- www.cve.org/CVERecord?id=CVE-2021-44228(Not Applicable)
- www.debian.org/security/2021/dsa-5022(Third Party Advisory)
- www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html(Third Party Advisory)
- www.kb.cert.org/vuls/id/930724(Third Party Advisory, US Government Resource)
- www.oracle.com/security-alerts/alert-cve-2021-44228.html(Third Party Advisory)
- www.oracle.com/security-alerts/cpuapr2022.html(Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.