nday
CVE-2021-4104

Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2

Apache Software Foundation / Apache Log4j 1.x

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

deserialization of untrusted data
CWE-502, stated by the CNA apache, NVD's analysts, and NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
OpenShift
CPE names NVD's analysts give as vulnerable: a:redhat:openshift_container_platform
MySQL
CPE names NVD's analysts give as vulnerable: a:oracle:mysql_enterprise_monitor
WebLogic Server
CPE names NVD's analysts give as vulnerable: a:oracle:weblogic_server
JBoss EAP
CPE names NVD's analysts give as vulnerable: a:redhat:jboss_enterprise_application_platform
Keycloak
CPE names NVD's analysts give as vulnerable: a:redhat:single_sign-on
Apache Log4j
affected products in the CVE record: Apache Software Foundation · Apache Log4j 1.xCPE names NVD's analysts give as vulnerable: a:apache:log4j
virtualization / containers
CPE names NVD's analysts give as vulnerable: a:redhat:openshift_container_platformthe product type of OpenShift in nday's product registry
database
CPE names NVD's analysts give as vulnerable: a:oracle:mysql_enterprise_monitorthe product type of MySQL in nday's product registry
web / application server
CPE names NVD's analysts give as vulnerable: a:oracle:weblogic_server, a:redhat:jboss_enterprise_application_platformthe product type of JBoss EAP and WebLogic Server in nday's product registry
identity / access management
CPE names NVD's analysts give as vulnerable: a:redhat:single_sign-onthe product type of Keycloak in nday's product registry
open-source library / framework
affected products in the CVE record: Apache Software Foundation · Apache Log4j 1.xCPE names NVD's analysts give as vulnerable: a:apache:log4jthe product type of Apache Log4j in nday's product registry
stage
DIS
disclosed
cvss
7.5 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2021-12-14T00:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

+DISdisclosed

CVE record published by apache. CVSS 7.5, high.

src cvelist · nday , bulk import · raw
{
  "id": 234272,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-4104",
  "occurred_at": "2021-12-14T00:00:00Z",
  "observed_at": "2026-11-13T05:37:17.325681Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.5,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2023-12-20T16:29:18.701121Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2021-12-14T00:00:00.000Z",
    "assigner_short_name": "apache"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.