CVE-2021-4104CWE-502

Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2

High · published December 14, 2021

Patch now

High probability of exploitation

CVSS calls it high at 7.5. It sits in the 99.6th percentile for exploit probability.

CVSS v3.1
7.5
EPSS
81%
Percentile
99.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.80599 · 99.6th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2021-12-14T00:00Z
EPSS history
Timeline
  • 14 DEC 00:00Z
    Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2
    cvelistv5