Skip to content
OpenAdvisories
Low · 3.7 Public exploit CVE-2020-9488 EUVD-2020-0518GHSA-vwqq-5vrc-xw9h

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

Published Apr 27, 2020 · Updated May 29, 2026 · Assigned by apache

Description

Improper validation of certificate with host mismatch in Apache Log4j SMTP appender. 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. Fixed in Apache Log4j 2.12.3 and 2.13.1

Affected products

VendorProductAffectedFixed
Apache Apache Log4j log4j-core 2.13.0, log4j-core – < 2.12.3 2.12.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache-log4j2 2.13.3-1 —
Debian 13 apache-log4j2 2.13.3-1 —
Debian 12 apache-log4j2 2.13.3-1 —
Debian 9 apache-log4j2 2.12.3-0+deb9u1 DLA-2852-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS apache-log4j2 2.16.0-0.20.04.1 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS apache-log4j2 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat A Mq Clients 2 nodejs-rhea 1.0.24-1.el8 RHSA-2020:3817
Red Hat A Mq Clients 2 python3-qpid-proton 0.32.0-2.el8 RHSA-2020:3817
Red Hat A Mq Clients 2 qpid-cpp +3 1.36.0-31.el6_10amq RHSA-2020:3817
Red Hat A Mq Clients 2 qpid-proton +9 0.32.0-1.el6_10 RHSA-2020:3817
Red Hat A Mq Clients 2 rubygem-qpid_proton 0.32.0-2.el7 RHSA-2020:3817

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.logging.log4j:log4j >= 2.13.0, < 2.13.2 2.13.2 GHSA-vwqq-5vrc-xw9h
Maven org.apache.logging.log4j:log4j >= 2.4.0, < 2.12.3 2.12.3 GHSA-vwqq-5vrc-xw9h
Maven org.apache.logging.log4j:log4j < 2.3.2 2.3.2 GHSA-vwqq-5vrc-xw9h
Maven org.apache.logging.log4j:log4j-core >= 2.13.0, < 2.13.2 2.13.2 GHSA-vwqq-5vrc-xw9h
Maven org.apache.logging.log4j:log4j-core >= 2.4.0, < 2.12.3 2.12.3 GHSA-vwqq-5vrc-xw9h
Maven org.apache.logging.log4j:log4j-core < 2.3.2 2.3.2 GHSA-vwqq-5vrc-xw9h

Advisories 5

References