CVEBrief

Home / Apache Software Foundation / Apache Log4j2 / CVE-2021-45105

CVE-2021-45105: is it exploited, and which versions of Apache Software Foundation Apache Log4j2 are affected and fixed?

CVE-2021-45105 is an improper input validation vulnerability in Apache Software Foundation Apache Log4j2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: org.apache.logging.log4j:log4j-core from 2.4.0 before 2.12.3, org.apache.logging.log4j:log4j-core from 2.13.0 before 2.17.0, org.apache.logging.log4j:log4j-core before 2.3.1 and 4 more (GitHub advisory GHSA-p6xc-xr62-6r2g). Fixed in 2.12.3, 2.17.0, 2.3.1, 1.9.2 and 2 more (GitHub advisory GHSA-p6xc-xr62-6r2g). Severity: Medium (5.9, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:52 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 17:09 UTC
Affected
org.apache.logging.log4j:log4j-core from 2.4.0 before 2.12.3, org.apache.logging.log4j:log4j-core from 2.13.0 before 2.17.0, org.apache.logging.log4j:log4j-core before 2.3.1 and 4 more
GitHub advisory GHSA-p6xc-xr62-6r2g
Fixed in
2.12.3, 2.17.0, 2.3.1, 1.9.2 and 2 more
GitHub advisory GHSA-p6xc-xr62-6r2g
Severity
Medium 5.9
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
100.0% in 30 days
higher than 100% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2021-45105?

Apache Log4j2 does not always protect from infinite recursion in lookup evaluation

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.

From the CVE record by apache, last updated May 29, 2026, 11:45 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache Log4j2from log4j-core before 2.17.02.17.0, 2.12.3, 2.3.1

As the CVE record by apache states it, last updated May 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 9, 2026. Summary: Apache Log4j2 vulnerable to Improper Input Validation and Uncontrolled Recursion.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apachelog4jfrom 2.0 before 2.3.1application
apachelog4jfrom 2.4 before 2.12.3application
apachelog4jfrom 2.13.0 through 2.16.0application
netappcloud managerall versionsapplication
debiandebian linux10.0operating system
debiandebian linux11.0operating system
sonicwallemail securitythrough 10.0.12application
sonicwallnetwork security managerfrom 2.0 before 3.0application
sonicwallweb application firewallfrom 3.0.0 before 3.1.0application
sonicwall6bk1602-0aa12-0tp0 firmwarebefore 2.7.0operating system
sonicwall6bk1602-0aa22-0tp0 firmwarebefore 2.7.0operating system
sonicwall6bk1602-0aa32-0tp0 firmwarebefore 2.7.0operating system
sonicwall6bk1602-0aa42-0tp0 firmwarebefore 2.7.0operating system
sonicwall6bk1602-0aa52-0tp0 firmwarebefore 2.7.0operating system
oracleagile engineering data management6.2.1.0application
oracleagile plm mcad connector3.6application
oracleagile product lifecycle management9.3.6application
oracleautovue for agile product lifecycle management21.0.2application
oraclebanking deposits and lines of credit servicing2.12.0application
oraclebanking enterprise default management2.7.1application
oraclebanking enterprise default management2.12.0application
oraclebanking loans servicing2.12.0application
oraclebanking party management2.7.0application
oraclebanking payments14.5application
oraclebanking platform2.6.2application

NVD analysis (status Modified), last modified August 25, 2026, 16:28 UTC.

How severe is CVE-2021-45105?

ScoreVersionVectorSource
Medium 5.9CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
Medium 5.9CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HNVD
Medium 4.3CVSS 2.0AV:N/AC:M/Au:N/C:N/I:N/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-45105 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 29, 2026)
EPSS
100.0% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

Implement one of the following mitigation techniques: * Java 8 (or later) users should upgrade to release 2.17.0. Alternatively, this can be mitigated in configuration: * In PatternLayout in the logging configuration, replace Context Lookups like `${ctx:loginId}` or `$${ctx:loginId}` with Thread Context Map patterns (%X, %mdc, or %MDC). * Otherwise, in the configuration, remove references to Context Lookups like `${ctx:loginId}` or `$${ctx:loginId}` where they originate from sources external to the application such as HTTP headers or user input.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
December 16, 2021
Published
December 18, 2021, 11:55 UTC
CVE record updated
May 29, 2026, 11:45 UTC by apache
NVD
Modified, last modified August 25, 2026, 16:28 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Apache Log4j2?

Every CVE in Apache Log4j2

Questions about CVE-2021-45105

Is CVE-2021-45105 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 100.0% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Apache Software Foundation Apache Log4j2 are affected by CVE-2021-45105?

org.apache.logging.log4j:log4j-core from 2.4.0 before 2.12.3, org.apache.logging.log4j:log4j-core from 2.13.0 before 2.17.0, org.apache.logging.log4j:log4j-core before 2.3.1, org.ops4j.pax.logging:pax-logging-log4j2 from 1.8.0 before 1.9.2, org.ops4j.pax.logging:pax-logging-log4j2 from 1.10.0 before 1.10.9, org.ops4j.pax.logging:pax-logging-log4j2 from 1.11.0 before 1.11.12 and 1 more, per the GitHub advisory GHSA-p6xc-xr62-6r2g. The tables above give every range the sources list.

Which version fixes CVE-2021-45105?

2.12.3, 2.17.0, 2.3.1, 1.9.2, 1.10.9 and 1.11.12, per the GitHub advisory GHSA-p6xc-xr62-6r2g. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-45105?

Medium (5.9, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2021-45105?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.