Skip to main content
← All vulnerabilities
CVE-2021-45105GHSA-P6XC-XR62-6R2G

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.12.3, 2.3.1, 2.17.0, 1.9.2, 1.10.9, and 2 more
7 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Apache Software Foundation Apache Log4j2

    From log4j-core · fixed in 2.12.3; From 2.4 · fixed in 2.3.1; From 2.0-alpha1 · fixed in 2.17.0

  • org.apache.logging.log4j:log4j-coreMaven

    From 2.4.0 · fixed in 2.12.3

  • org.apache.logging.log4j:log4j-coreMaven

    From 2.13.0 · fixed in 2.17.0

  • org.apache.logging.log4j:log4j-coreMaven

    fixed in 2.3.1

  • org.ops4j.pax.logging:pax-logging-log4j2Maven

    From 1.8.0 · fixed in 1.9.2

  • org.ops4j.pax.logging:pax-logging-log4j2Maven

    From 1.10.0 · fixed in 1.10.9

  • org.ops4j.pax.logging:pax-logging-log4j2Maven

    From 1.11.0 · fixed in 1.11.12

  • org.ops4j.pax.logging:pax-logging-log4j2Maven

    From 2.0.0 · fixed in 2.0.13

References 20

logging.apache.org

psirt.global.sonicwall.com

kb.cert.org

tools.cisco.com

openwall.com

debian.org

cert-portal.siemens.com

security.netapp.com

zerodayinitiative.com

oracle.com

GitHub · aajuvonen/CVE-2021-45105-demo

GitHub · cckuailong/Log4j_dos_CVE-2021-45105

GitHub · dileepdkumar/https-github.com-pravin-pp-log4j2-CVE-2021-45105-1

GitHub · iAmSOScArEd/log4j2_dos_exploit

GitHub · name/log4j-remediation

GitHub · pravin-pp/log4j2-CVE-2021-45105

GitHub · tejas-nagchandi/CVE-2021-45105