Apache · Apache Log4j · CWE-917 · published 2021-12-14
CVE-2021-45046Apache Log4j2 Deserialization of Untrusted Data Vulnerability
Patch today Known exploited and used in ransomware campaigns.
CVE-2021-45046 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2023-05-01, and it is known to be used in ransomware campaigns. EPSS estimates a 100% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Apache Log4j vulnerability: CVSS 9.0 (v3.1), a successful attack gives total control of the component. Patched packages are out for Debian and Ubuntu. US federal agencies must remediate by 2023-05-22. Patch today.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply updates per vendor instructions. (federal due date 2023-05-22)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | apache-log4j2 | Fixed in 2.16.0-1 |
| 12 bookworm | apache-log4j2 | Fixed in 2.16.0-1 | |
| Ubuntu | 20.04 LTS | apache-log4j2 | Fixed in 2.16.0-0.20.04.1 |
| Red Hat Enterprise Linux | RHEL 8 | log4j12 | Not affected |
| RHEL 7 | log4j | Not affected | |
| RHEL 6 | log4j | Not affected |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
LibraryApache Log4j
Deserialization of Untrusted DataCVE-2021-45046
Why: Known exploited and used in ransomware campaigns.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2023-05-01 | CISA KEV |
| Ransomware use | Known | CISA KEV |
| EPSS (30-day exploitation probability) | 100% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.0 (v3.1)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement
More from this vendor: all Apache vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Apache Software Foundation Apache Log4j
Apache Log4j2to before2.16.0(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.