VDB
Sign up
LOW3.7

GHSA-vwqq-5vrc-xw9h

Improper validation of certificate with host mismatch in Apache Log4j SMTP appender

Quick fix

GHSA-vwqq-5vrc-xw9h — org.apache.logging.log4j:log4j: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.13.2</version> for org.apache.logging.log4j:log4j

Details

Improper validation of certificate with host mismatch in Apache Log4j SMTP appender prior to version 2.13.2. This could allow an SMTPS connection to be intercepted by a man-in-the-middle attack which could leak any log messages sent through that appender.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.logging.log4j:log4j
Introduced in: 2.13.0Fixed in: 2.13.2
Fix# pom.xml: bump <version>2.13.2</version> for org.apache.logging.log4j:log4j
Maven/org.apache.logging.log4j:log4j-core
Introduced in: 2.13.0Fixed in: 2.13.2
Fix# pom.xml: bump <version>2.13.2</version> for org.apache.logging.log4j:log4j-core
Maven/org.apache.logging.log4j:log4j
Introduced in: 2.4.0Fixed in: 2.12.3
Fix# pom.xml: bump <version>2.12.3</version> for org.apache.logging.log4j:log4j
Maven/org.apache.logging.log4j:log4j
Introduced in: 0Fixed in: 2.3.2
Fix# pom.xml: bump <version>2.3.2</version> for org.apache.logging.log4j:log4j
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: 0Fixed in: 2.3.2
Fix# pom.xml: bump <version>2.3.2</version> for org.apache.logging.log4j:log4j-core

References