CVE-2021-45046KEV · OVERDUECWE-917

Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack

Critical · published December 14, 2021

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 9.0. It is confirmed in active exploitation. It sits in the 100.0th percentile for exploit probability.

1251
days past CISA
deadline
CVSS v3.1
9.0
EPSS
100%
Percentile
100.0
In the wild
Confirmed
What it is

🚨 A single attacker-controlled input can lead to devastating remote code execution in vulnerable Apache Log4j setups! 🔥 It's like a sneaky delivery person who reads your mail and swaps out important documents for malicious ones — only now, it's happening inside your application's logging system! 📦 If exploited, this vulnerability can allow attackers to execute harmful code remotely, gaining unauthorized access to sensitive information or even taking complete control of your systems. This isn't just a minor mishap; it’s a serious breach that could lead to catastrophic consequences for your data integrity and security!

Put simply

It's like a sneaky delivery person who reads your mail and swaps out important documents for malicious ones — only now, it's happening inside your application's logging system! 📦 CVE-2021-45046 arises from an incomplete fix in Apache Log4j 2.15.0, allowing crafted input in non-default configurations to trigger JNDI lookups, resulting in remote code execution. The vulnerability affects environments relying on certain logging patterns, leading to potential information leaks and exploits.

What to do

If exploited, this vulnerability can allow attackers to execute harmful code remotely, gaining unauthorized access to sensitive information or even taking complete control of your systems. This isn't just a minor mishap; it’s a serious breach that could lead to catastrophic consequences for your data integrity and security! Update your Log4j implementation to version 2.16.0 if you're using Java 8, or 2.12.2 for Java 7, immediately to close this vulnerability. Additionally, ensure that logging configurations do not utilize any message lookup patterns or JNDI functionality to reinforce protection. 🛡️ You can tackle this head-on! Follow these steps, and you'll bolster your defenses in no time. You've got this! 🦸

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.99977 · 100.0th percentile
Weakness
CWE-917 · Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
Published
2021-12-14T16:55Z
KEV added
2023-05-01 · due 2023-05-22
EPSS history
Timeline
  • 01 MAY 00:00Z
    Added to CISA KEV — remediate by May 22
    kev
  • 14 DEC 16:55Z
    Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack
    cvelistv5