Skip to content
RedCVE

CVE-2021-45046Apache Log4j2 Deserialization of Untrusted Data Vulnerability

ExploitedRansomwareApachecvatIntelSiemensPublished:

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

  1. 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.
  2. 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.

  3. 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.
  4. If you can't update right away

  5. 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.

  6. 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 productsVersions
Apache Log4j≥ 2.0.1, < 2.12.2 · ≥ 2.13.0, < 2.16.0 · 2.0
cvat Computer Vision Annotation ToolNot specified
Intel Audio Development KitNot specified
Intel Datacenter ManagerNot specified
Intel Genomics Kernel LibraryNot specified
Intel OneapiNot specified
Intel Secure Device OnboardNot specified
Intel Sensor Solution Firmware Development KitNot specified
Intel System DebuggerNot specified
Intel System StudioNot specified
Siemens Sppa-t3000 Ses3000 FirmwareNot specified
Siemens Captial< 2019.1 · 2019.1
Siemens ComosNot specified
Siemens Desigo Cc Advanced Reports4.0 · 4.1 · 4.2 · 5.0 · 5.1
Siemens Desigo Cc Info Center5.0 · 5.1
Siemens E-car Operation Center< 2021-12-13
Siemens Energy Engage3.1
Siemens Energyip8.5 · 8.6 · 8.7 · 9.0
Siemens Energyip Prepay3.7 · 3.8
Siemens Gma-manager< 8.6.2j-398
Siemens Head-end System Universal Device Integration SystemNot specified
Siemens Industrial Edge ManagementNot specified
Siemens Industrial Edge Management Hub< 2021-12-13
Siemens Logo! Soft ComfortNot specified
Siemens MendixNot specified

Weakness

  • CWE-917 expression language injection

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. 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

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.