VDB
Sign up
HIGH8.6

GHSA-p6xc-xr62-6r2g

Apache Log4j2 vulnerable to Improper Input Validation and Uncontrolled Recursion

Quick fix

GHSA-p6xc-xr62-6r2g — org.apache.logging.log4j:log4j-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.12.3</version> for org.apache.logging.log4j:log4j-core

Details

Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3) 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 and 2.12.3.

# Affected packages Only the `org.apache.logging.log4j:log4j-core` package is directly affected by this vulnerability. The `org.apache.logging.log4j:log4j-api` should be kept at the same version as the `org.apache.logging.log4j:log4j-core` package to ensure compatability if in use.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.logging.log4j:log4j-core
Introduced in: 2.4.0Fixed in: 2.12.3
Fix# pom.xml: bump <version>2.12.3</version> for org.apache.logging.log4j:log4j-core
Maven/org.apache.logging.log4j:log4j-core
Introduced in: 2.13.0Fixed in: 2.17.0
Fix# pom.xml: bump <version>2.17.0</version> for org.apache.logging.log4j:log4j-core
Maven/org.apache.logging.log4j:log4j-core
Introduced in: 0Fixed in: 2.3.1
Fix# pom.xml: bump <version>2.3.1</version> for org.apache.logging.log4j:log4j-core
Maven/org.ops4j.pax.logging:pax-logging-log4j2
Introduced in: 1.8.0Fixed in: 1.9.2
Fix# pom.xml: bump <version>1.9.2</version> for org.ops4j.pax.logging:pax-logging-log4j2
Maven/org.ops4j.pax.logging:pax-logging-log4j2
Introduced in: 1.10.0Fixed in: 1.10.9
Fix# pom.xml: bump <version>1.10.9</version> for org.ops4j.pax.logging:pax-logging-log4j2
Maven/org.ops4j.pax.logging:pax-logging-log4j2
Introduced in: 1.11.0Fixed in: 1.11.12
Fix# pom.xml: bump <version>1.11.12</version> for org.ops4j.pax.logging:pax-logging-log4j2
Maven/org.ops4j.pax.logging:pax-logging-log4j2
Introduced in: 2.0.0Fixed in: 2.0.13
Fix# pom.xml: bump <version>2.0.13</version> for org.ops4j.pax.logging:pax-logging-log4j2

References