CVE-2021-45105
A public proof of concept exists; no exploitation attested.
- Published2021-12-18
- Fixed in2.17.0 · 2.12.3 · 2.3.1
- WeaknessCWE-20 · CWE-674
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.
Timeline
dates in UTC- 2021-12-1812:15CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.13.0, < 2.17.0 | 2.17.0 | OSV |
| 2.x | ≥ 2.4, < 2.12.3 | 2.12.3 | NVD |
| 2.x | ≥ 2.4.0, < 2.12.3 | 2.12.3 | OSV |
| 2.x | ≥ 2.0, < 2.3.1 | 2.3.1 | NVD |
| 2.3 | < 2.3.1 | 2.3.1 | OSV |
| 2.x | ≥ 2.13.0, ≤ 2.16.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 16.0 | ≥ 16.0.1, ≤ 16.0.3 | no fix published | NVD |
| 19.0 | ≥ 19.0.0, ≤ 19.0.1.0 | no fix published | NVD |
| 14.1 | = 14.1.3 | no fix published | NVD |
| 14.1 | = 14.1.3.2 | no fix published | NVD |
| 15.0 | = 15.0.3.1 | no fix published | NVD |
| 19.0 | = 19.0.0 | no fix published | NVD |
| 19.0 | = 19.0.1 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 16.0 | ≥ 16.0.1, ≤ 16.0.3 | no fix published | NVD |
| 14.1 | = 14.1.3 | no fix published | NVD |
| 14.1 | = 14.1.3.2 | no fix published | NVD |
| 15.0 | = 15.0.3.1 | no fix published | NVD |
| 19.0 | = 19.0.0 | no fix published | NVD |
| 19.0 | = 19.0.1 | no fix published | NVD |
| 19.0 | = 19.0.1.0 | no fix published | NVD |
114 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache Log4j2Affected
- ≥ log4j-core, < 2.17.0fixed in 2.17.0custom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2022-07-25
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-log4j2Ubuntu:Pro:26.04:LTSall versions · fixed in 2.19.0-2ubuntu0.26.04.1~esm1
- apache-log4j2Ubuntu:Pro:24.04:LTSall versions · fixed in 2.19.0-2ubuntu0.24.04.1~esm1
- apache-log4j2Ubuntu:Pro:22.04:LTSall versions · fixed in 2.17.1-1ubuntu0.1~esm1
- apache-log4j2Ubuntu:Pro:20.04:LTSall versions · fixed in 2.17.1-0.20.04.1ubuntu0.1~esm1
- apache-log4j2Ubuntu:Pro:18.04:LTSall versions · fixed in 2.12.4-0ubuntu0.1+esm1
- apache-log4j2Ubuntu:Pro:16.04:LTSall versions · fixed in 2.4-2ubuntu0.1~esm2
- apache-log4j2Ubuntu:26.10all versions · fixed in 2.19.0-2ubuntu0.26.10.1
- apache-log4j2Ubuntu:20.04:LTSall versions · fixed in 2.17.0-0.20.04.1
25 more package ranges on OSV.dev
Vendor advisories
log4j-core: DoS in log4j 2.x with Thread Context Map (MDC) input data contains a recursive lookup and context lookup pattern
log4j-api as a component of Red Hat Decision Manager 7 · log4j-core as a component of Red Hat Integration Camel Quarkus 1 · openshift3/ose-logging-elasticsearch5 as a component of Red Hat OpenShift Container Platform 3.11 · +1 more
Red Hat Security Advisory: Red Hat Single Sign-On 7.5.2 security update on RHEL 8
Red Hat Security Advisory: Red Hat Single Sign-On 7.5.2 security update on RHEL 7
Red Hat Security Advisory: Red Hat Single Sign-On 7.5.2 security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.4 security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.4 security update
15 more advisories
Fix
- Update Apache Log4j to 2.17.0 · 2.12.3 · 2.3.1
- Vendor fix Red Hat Product Security RHSA-2022:1463 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:1469 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2022:1299 · 1 productBefore applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2022:1297 · 2 productsBefore applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:0223 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2022:0083 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link for the update. You must be logged in to download the update.
Advisories and patches
- www.openwall.comMitigation
- logging.apache.orgRelease Notes · Vendor Advisory
- www.oracle.comPatch
- www.oracle.comPatch
Detection
read 2026-11-27 12:13 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-05-29
- CISA-ADPCVSS 3.15.92026-05-29
- NVDCVSS 3.15.9read 2026-10-23
- NVDCVSS 2.04.3read 2026-10-23
- CNAweakness (CWE)CWE-20, CWE-674known since 2026-10-23
- NVDweakness (CWE)CWE-20, CWE-674read 2026-10-23
- FIRST EPSSEPSS score99.9 %read 2026-12-04
- PoC-in-GitHubproof of concept8known since 2026-11-27
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2021-12-18
Identifiers
- EUVD-2021-2559same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-p6xc-xr62-6r2gsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-24mm-f3g3-p5hxsame flawMinimOS · LicenseRef-unstated
- DLA-2852-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5024-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0572advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1474advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2022-1956advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2022-1957advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:1605-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:4118-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:1296advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1297advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1462advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:1463advisory covering several CVEsRed Hat · CC-BY-4.0
- USN-5203-1advisory covering several CVEsUbuntu
- USN-5222-1advisory covering several CVEsUbuntu
- USN-9274-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2021-12-18
- Last modified
- 2026-08-25
- NVD status
- Modified
- GitHub advisory
- GHSA-p6xc-xr62-6r2g
Frequently asked questions
What is CVE-2021-45105?
Is CVE-2021-45105 actively exploited?
What is the CVSS score for CVE-2021-45105?
Running Apache Log4j? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-p6xc-xr62-6r2g
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0