CVE-2021-45046 · Known exploited vulnerability

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

Actively exploited (CISA KEV)Ransomware use: KnownPatch available

Summary

CVE-2021-45046 is a deserialization of untrusted data vulnerability in Apache Log4j2, rated critical severity with a CVSS base score of 9.0.

CISA added it to the Known Exploited Vulnerabilities catalogue on 1 May 2023, which means there is reliable evidence that attackers have exploited it and it is known to have been used in ransomware campaigns.

It can be exploited remotely over a network without needing an account.

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.
CISA catalogue description

Key facts

Affected product
Apache · Log4j2
CVSS severity
Critical9.0CVSS v3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS (exploitation likelihood, next 30 days)
99.97%Higher than 99.9% of all scored CVEs
Weakness (CWE)
CWE-917
Added to CISA KEV
CISA due date (US federal agencies)
First published (NVD)
NVD status
Analyzed

CISA required action

Apply updates per vendor instructions.

What UK organisations should do

01 Patch or mitigate

  • The vendor has published a fix. Apply the update to every affected instance, starting with internet-facing systems.
  • CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 22 May 2023 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
  • If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.

02 Check your exposure

  • Confirm whether you run Apache Log4j2 anywhere, including systems managed by suppliers or cloud providers.
  • Check whether management interfaces or web front ends for the product are reachable from the internet, and restrict them to trusted networks or a VPN.
  • Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.

03 Monitor and respond

  • Alert on unexpected child processes, new scheduled tasks, outbound connections and web shells on affected hosts.
  • If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.

Other exploited Apache Log4j2 vulnerabilities

  • CVE-2021-44228

    Log4j2

    Remote Code Execution

    RansomwareCritical10.0

More from Apache

All 43 Apache vulnerabilities

Same weakness (CWE-917) in other products

  • CVE-2022-26134

    Atlassian · Confluence Server/Data Center

    Confluence Server and Data Center Remote Code Execution

    RansomwareCritical9.8
  • CVE-2021-26084

    Atlassian · Confluence Server and Data Center

    Object-Graph Navigation Language (OGNL) Injection

    RansomwareCritical9.8
  • CVE-2020-10199

    Sonatype · Nexus Repository

    Remote Code Execution

    High8.8

Sources and references

Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.