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.

Share this

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.

DistroReleasePackageStatus
Debian13 trixieapache-log4j2Fixed in 2.16.0-1
12 bookwormapache-log4j2Fixed in 2.16.0-1
Ubuntu20.04 LTSapache-log4j2Fixed in 2.16.0-0.20.04.1
Red Hat Enterprise LinuxRHEL 8log4j12Not affected
RHEL 7log4jNot affected
RHEL 6log4jNot 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

  1. Patch todayExploited (KEV)CISA due 2023-05-22

    LibraryApache Log4j

    Deserialization of Untrusted DataCVE-2021-45046

    Why: Known exploited and used in ransomware campaigns.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2023-05-01CISA KEV
Ransomware useKnownCISA KEV
EPSS (30-day exploitation probability)100% (100th pct)FIRST EPSS v2026.06.15
CVSS base score9.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 exploitationactiveCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA 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)#

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.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →