As of , CVE-2021-45046 in Apache Log4j2 is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2021-45046
Apache Log4j2: Deserialization of Untrusted Data. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- Ransomware use
- Metasploit module
- EPSS 0.99
CISA's required action
Apply updates per vendor instructions.
Patch infofixed versions and vendor advice
What to install
Affects Apache Log4j. The record gives its versions in a form this page does not read.
Vendor advice
Vendor advice: logging.apache.org, from CISA's entry.
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 1 May 2023
- US federal deadline
- 22 May 2023 21 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Known
- EPSS when listed
- 0.97 on 1 May 2023 EPSS on the day CISA listed it.
- Public exploit
- 1 Metasploit module
In software packages
Affected packages
Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.
org.apache.logging.log4j:log4j-coreMaven
Affects org.apache.logging.log4j:log4j-core before 2.3.1, from 2.4.0 before 2.12.2 and from 2.13.0 before 2.16.0.
Fixed in 2.3.1, 2.12.2 and 2.16.0.
Advisory GHSA-7rjr-3q55-vv33org.ops4j.pax.logging:pax-logging-log4j2Maven
Affects org.ops4j.pax.logging:pax-logging-log4j2 from 1.8.0 before 1.9.2, from 1.10.0 before 1.10.8, from 1.11.0 before 1.11.11 and from 2.0.0 before 2.0.12.
Fixed in 1.9.2, 1.10.8, 1.11.11 and 2.0.12.
Advisory GHSA-7rjr-3q55-vv33
Since listing
EPSS since listing
EPSS for CVE-2021-45046 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.97 | |
| 0.98 | |
| 0.96 | |
| 0.97 | |
| 0.94 | |
| 0.99 |
Timeline
What happened when
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
CISA's required action
What CISA says to do
Apply updates per vendor instructions.
Read further: CISA's catalog
The flaw
What the flaw is
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's 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.
The CVE record's description, from apache
- CVE published
- 14 December 2021
- Assigned by
- apache
- CVSS
- 9.0 Critical (CVSS 3.1, from CISA-ADP)
- CWE-917
- Improper Neutralization of Special Elements used in an Expression Language Statement
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- no
- CISA SSVC, technical impact
- total
Public exploits
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
Same product
Log4j2: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2021-44228Remote Code Execution | Log4j2 | Patch this weekRansomwareMetasploit | Due | 0.99 |
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0