{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-4104",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "assignerShortName": "apache",
        "dateUpdated": "2024-08-03T17:16:04.172Z",
        "dateReserved": "2021-12-13T00:00:00",
        "datePublished": "2021-12-14T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2",
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2023-12-22T09:06:15.357899"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache Log4j 1.x",
                    "versions": [
                        {
                            "version": "Apache Log4j 1.2 1.2.x",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://www.cve.org/CVERecord?id=CVE-2021-44228"
                },
                {
                    "url": "https://github.com/apache/logging-log4j2/pull/608#issuecomment-990494126"
                },
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2021-4104"
                },
                {
                    "name": "VU#930724",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.kb.cert.org/vuls/id/930724"
                },
                {
                    "name": "[oss-security] 20220118 CVE-2022-23302: Deserialization of untrusted data in JMSSink in Apache Log4j 1.x",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2022/01/18/3"
                },
                {
                    "url": "https://www.oracle.com/security-alerts/cpujan2022.html"
                },
                {
                    "url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0033"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20211223-0007/"
                },
                {
                    "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                },
                {
                    "url": "https://www.oracle.com/security-alerts/cpujul2022.html"
                },
                {
                    "name": "GLSA-202209-02",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202209-02"
                },
                {
                    "name": "GLSA-202310-16",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202310-16"
                },
                {
                    "name": "GLSA-202312-02",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202312-02"
                },
                {
                    "name": "GLSA-202312-04",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202312-04"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-502 Deserialization of Untrusted Data",
                            "cweId": "CWE-502"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "source": {
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T17:16:04.172Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://www.cve.org/CVERecord?id=CVE-2021-44228",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/apache/logging-log4j2/pull/608#issuecomment-990494126",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://access.redhat.com/security/cve/CVE-2021-4104",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "VU#930724",
                        "tags": [
                            "third-party-advisory",
                            "x_transferred"
                        ],
                        "url": "https://www.kb.cert.org/vuls/id/930724"
                    },
                    {
                        "name": "[oss-security] 20220118 CVE-2022-23302: Deserialization of untrusted data in JMSSink in Apache Log4j 1.x",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2022/01/18/3"
                    },
                    {
                        "url": "https://www.oracle.com/security-alerts/cpujan2022.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0033",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20211223-0007/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.oracle.com/security-alerts/cpujul2022.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202209-02",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202209-02"
                    },
                    {
                        "name": "GLSA-202310-16",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202310-16"
                    },
                    {
                        "name": "GLSA-202312-02",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202312-02"
                    },
                    {
                        "name": "GLSA-202312-04",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202312-04"
                    }
                ]
            }
        ]
    }
}