Deserialization of Untrusted Data The advisory has been revoked - it doesn't affect any version of package apache-log4j1.2  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
80.6% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2504-APACHELOG4J12-9824216
  • published26 Apr 2025
  • disclosed14 Dec 2021

Introduced: 14 Dec 2021

CVE-2021-4104  (opens in a new tab)
CWE-502  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:25.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apache-log4j1.2 package and not the apache-log4j1.2 package as distributed by Ubuntu.

JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.