Skip to content

Known exploited

Is your fleet exposed to CVE-2021-45046?

Apache Log4j2 Deserialization of Untrusted Data Vulnerability. CVE-2021-45046 is in CISA's catalog of vulnerabilities known to be exploited, and it affects packages on 7 Linux releases that SysWard tracks. A host is exposed while it has a build older than the fixed version for its release.

Added to CISA's catalog
May 1, 2023
Due date for US federal agencies
May 22, 2023
Used in ransomware
Known
Affected software
Apache Log4j2

What it 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.

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 a denial of service (DOS) attack. Log4j 2.15.0 makes a best-effort attempt to restrict JNDI LDAP lookups to localhost by default. Log4j 2.16.0 fixes this issue by removing support for message lookup patterns and disabling JNDI functionality by default.

From a distribution's security advisory

CISA's required action: Apply updates per vendor instructions.

Affected Linux releases

Pick your release for the full list of affected packages and the commands to check and update a host.

ReleaseAffected packagesFixed in
Ubuntu 20.04 LTS liblog4j2-java 2.16.0-0.20.04.1
Debian 11 apache-log4j2 2.16.0-1~deb11u1
Debian 12 apache-log4j2 2.16.0-1
Debian 13 apache-log4j2 2.16.0-1
Amazon Linux 2 aws-kinesis-agent, java-1.7.0-openjdk, java-1.7.0-openjdk-accessibility and 29 more Depends on the package
SLES 15 SP6 jakarta-servlet, log4j, log4j-javadoc and 2 more Depends on the package
SLES 15 SP7 jakarta-servlet, log4j, log4j-javadoc and 2 more Depends on the package

Releases not listed either are not affected, are past their vendor's support, or are not ones SysWard has security data for.

Why the version number alone can mislead

Long-lived distributions fix a vulnerability in the version they already ship and raise only their own build number. Comparing your package's upstream version with the release where the project fixed the bug gives the wrong answer in both directions. Compare against the fixed build for your release, which is what the release pages list.

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup