LowGHSA-vwqq-5vrc-xw9hCVE-2020-9488

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

Published 5 Jun 2020 · Updated 9 Jun 2026

Is your project on an affected org.apache.logging.log4j:log4j?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=2.13.0 <2.13.2
Fixed in
2.13.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.logging.log4j:log4j -DdepVersion=2.13.2 -DforceVersion=true
Affected
>=2.13.0 <2.13.2
Fixed in
2.13.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.logging.log4j:log4j-core -DdepVersion=2.13.2 -DforceVersion=true
Affected
>=2.4.0 <2.12.3
Fixed in
2.12.3
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.logging.log4j:log4j -DdepVersion=2.12.3 -DforceVersion=true
Affected
<2.3.2
Fixed in
2.3.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.logging.log4j:log4j -DdepVersion=2.3.2 -DforceVersion=true
Affected
>=2.4.0 <2.12.3
Fixed in
2.12.3
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.logging.log4j:log4j-core -DdepVersion=2.12.3 -DforceVersion=true
Affected
<2.3.2
Fixed in
2.3.2
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.logging.log4j:log4j-core -DdepVersion=2.3.2 -DforceVersion=true

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.

Is GHSA-vwqq-5vrc-xw9h in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.logging.log4j:log4j, and gives you the command that fixes it.

More advisories for org.apache.logging.log4j:log4j

  • CriticalCVE-2017-5645Deserialization of Untrusted Data in Log4j · 6 Jan 2020
org.apache.logging.log4j:log4j security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.