CVEMETERBack to radar
OFFICIAL RECORD · Java packages

CVE-2021-45046

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack

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 an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 99.977% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: confirmed catalog inclusion. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:32.376ZFIRST EPSS
patchesverified2026-11-19T12:52:09.801ZOSV
affectedverified2026-11-19T12:56:14.851ZCVE Program
lifecycleverified2026-11-19T12:56:14.851ZCVE Program

Affected versions and configuration

Apache Software Foundation Apache Log4j; default status: unknown: Apache Log4j2 to < 2.16.0 [affected; scheme: custom]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "Apache Software Foundation",
      "product": "Apache Log4j",
      "versions": [
        {
          "status": "affected",
          "version": "Apache Log4j2",
          "lessThan": "2.16.0",
          "versionType": "custom"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/alert-cve-2021-44228.html",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-44228",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2021/12/14/4",
          "name": "[oss-security] 20211214 CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST",
            "x_transferred"
          ]
        },
        {
          "url": "https://logging.apache.org/log4j/2.x/security.html",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.kb.cert.org/vuls/id/930724",
          "name": "VU#930724",
          "tags": [
            "third-party-advisory",
            "x_refsource_CERT-VN",
            "x_transferred"
          ]
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd",
          "name": "20211210 Vulnerabilities in Apache Log4j Library Affecting Cisco Products: December 2021",
          "tags": [
            "vendor-advisory",
            "x_refsource_CISCO",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2021/12/15/3",
          "name": "[oss-security] 20211215 Re: CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST",
            "x_transferred"
          ]
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.debian.org/security/2021/dsa-5022",
          "name": "DSA-5022",
          "tags": [
            "vendor-advisory",
            "x_refsource_DEBIAN",
            "x_transferred"
          ]
        },
        {
          "url": "http://www.openwall.com/lists/oss-security/2021/12/18/1",
          "name": "[oss-security] 20211218 Re: CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST",
            "x_transferred"
          ]
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf",
          "tags": [
            "x_refsource_CONFIRM",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY/",
          "name": "FEDORA-2021-5c9d12a93e",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ/",
          "name": "FEDORA-2021-abbe24e41c",
          "tags": [
            "vendor-advisory",
            "x_refsource_FEDORA",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/cpujan2022.html",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://www.oracle.com/security-alerts/cpujul2022.html",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.gentoo.org/glsa/202310-16",
          "tags": [
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-04T04:32:13.624Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "CHANGED",
            "version": "3.1",
            "baseScore": 9,
            "attackVector": "NETWORK",
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
            "integrityImpact": "HIGH",
            "userInteraction": "NONE",
            "attackComplexity": "HIGH",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2021-45046",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "active"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-02-04T19:31:22.638704Z"
            }
          }
        },
        {
          "other": {
            "type": "kev",
            "content": {
              "dateAdded": "2023-05-01",
              "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-45046"
            }
          }
        }
      ],
      "timeline": [
        {
          "lang": "en",
          "time": "2023-05-01T00:00:00.000Z",
          "value": "CVE-2021-45046 added to CISA KEV"
        }
      ],
      "references": [
        {
          "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-45046",
          "tags": [
            "government-resource"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-10-21T23:25:22.768Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-7rjr-3q55-vv33",
  "aliases": [
    "CVE-2021-45046"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "2.13.0"
            },
            {
              "fixed": "2.16.0"
            }
          ]
        }
      ],
      "package": {
        "name": "org.apache.logging.log4j:log4j-core",
        "purl": "pkg:maven/org.apache.logging.log4j/log4j-core",
        "ecosystem": "Maven"
      },
      "versions": [
        "2.13.0",
        "2.13.1",
        "2.13.2",
        "2.13.3",
        "2.14.0",
        "2.14.1",
        "2.15.0"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-7rjr-3q55-vv33/GHSA-7rjr-3q55-vv33.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "2.4.0"
            },
            {
              "fixed": "2.12.2"
            }
          ]
        }
      ],
      "package": {
        "name": "org.apache.logging.log4j:log4j-core",
        "purl": "pkg:maven/org.apache.logging.log4j/log4j-core",
        "ecosystem": "Maven"
      },
      "versions": [
        "2.10.0",
        "2.11.0",
        "2.11.1",
        "2.11.2",
        "2.12.0",
        "2.12.1",
        "2.4",
        "2.4.1",
        "2.5",
        "2.6",
        "2.6.1",
        "2.6.2",
        "2.7",
        "2.8",
        "2.8.1",
        "2.8.2",
        "2.9.0",
        "2.9.1"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-7rjr-3q55-vv33/GHSA-7rjr-3q55-vv33.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.1"
            }
          ]
        }
      ],
      "package": {
        "name": "org.apache.logging.log4j:log4j-core",
        "purl": "pkg:maven/org.apache.logging.log4j/log4j-core",
        "ecosystem": "Maven"
      },
      "versions": [
        "2.0",
        "2.0-alpha1",
        "2.0-alpha2",
        "2.0-beta1",
        "2.0-beta2",
        "2.0-beta3",
        "2.0-beta4",
        "2.0-beta5",
        "2.0-beta6",
        "2.0-beta7",
        "2.0-beta8",
        "2.0-beta9",
        "2.0-rc1",
        "2.0-rc2",
        "2.0.1",
        "2.0.2",
        "2.1",
        "2.2",
        "2.3"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-7rjr-3q55-vv33/GHSA-7rjr-3q55-vv33.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45046",
      "type": "ADVISORY"
    },
    {
      "url": "https://www.oracle.com/security-alerts/cpujul2022.html",
      "type": "WEB"
    },
    {
      "url": "https://www.oracle.com/security-alerts/cpujan2022.html",
      "type": "WEB"
    },
    {
      "url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
      "type": "WEB"
    },
    {
      "url": "https://www.oracle.com/security-alerts/alert-cve-2021-44228.html",
      "type": "WEB"
    },
    {
      "url": "https://www.openwall.com/lists/oss-security/2021/12/18/1",
      "type": "WEB"
    },
    {
      "url": "https://www.openwall.com/lists/oss-security/2021/12/15/3",
      "type": "WEB"
    },
    {
      "url": "https://www.openwall.com/lists/oss-security/2021/12/14/4",
      "type": "WEB"
    },
    {
      "url": "https://www.kb.cert.org/vuls/id/930724",
      "type": "WEB"
    },
    {
      "url": "https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html",
      "type": "WEB"
    },
    {
      "url": "https://www.debian.org/security/2021/dsa-5022",
      "type": "WEB"
    },
    {
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-44228",
      "type": "WEB"
    },
    {
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-45046",
      "type": "WEB"
    },
    {
      "url": "https://security.gentoo.org/glsa/202310-16",
      "type": "WEB"
    },
    {
      "url": "https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd",
      "type": "WEB"
    },
    {
      "url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032",
      "type": "WEB"
    },
    {
      "url": "https://logging.apache.org/security.html#CVE-2021-45046",
      "type": "WEB"
    },
    {
      "url": "https://logging.apache.org/log4j/2.x/security.html",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ",
      "type": "WEB"
    },
    {
      "url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY",
      "type": "WEB"
    },
    {
      "url": "https://github.com/apache/logging-log4j2/compare/rel/2.3...rel/2.3.1",
      "type": "WEB"
    },
    {
      "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf",
      "type": "WEB"
    },
    {
      "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf",
      "type": "WEB"
    },
    {
      "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf",
      "type": "WEB"
    },
    {
      "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-502",
      "CWE-917"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "nvd_published_at": "2021-12-14T19:15:00Z",
    "github_reviewed_at": "2021-12-14T17:55:00Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryMaven / packageorg.apache.logging.log4j:log4j-coreNot a distribution channel2.16.0Official record
ecosystem-boundaryMaven / packageorg.apache.logging.log4j:log4j-coreNot a distribution channel2.12.2Official record
ecosystem-boundaryMaven / packageorg.apache.logging.log4j:log4j-coreNot a distribution channel2.3.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history