ADVISORIES

GitHub Advisory Database

GHSA-vwqq-5vrc-xw9h

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

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.logging.log4j:log4j
From 2.13.0 before 2.13.2 (fixed in 2.13.2)
Mavenorg.apache.logging.log4j:log4j-core
From 2.13.0 before 2.13.2 (fixed in 2.13.2)
Mavenorg.apache.logging.log4j:log4j
From 2.4.0 before 2.12.3 (fixed in 2.12.3)
Mavenorg.apache.logging.log4j:log4j
All versions before 2.3.2 (fixed in 2.3.2)
Mavenorg.apache.logging.log4j:log4j-core
From 2.4.0 before 2.12.3 (fixed in 2.12.3)
Mavenorg.apache.logging.log4j:log4j-core
All versions before 2.3.2 (fixed in 2.3.2)

References