CVE-2020-9488
Apache Log4j: Improper Certificate Validation
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
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 9.04%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.0% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 29 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-295 Improper Certificate Validation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache Log4j |
affected log4j-core 2.13.0 affected from log4j-core, before 2.12.3
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-9488 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-9488RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-9488Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-9488
trivy image --scanners vuln IMAGE | grep CVE-2020-9488
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Advisories
- https://issues.apache.org/jira/browse/LOG4J2-2819 issues.apache.org
- https://security.netapp.com/advisory/ntap-20200504-0003/ security.netapp.com
- DSA-5020 debian.org · vendor advisory
Other references
- [zookeeper-issues] 20200504 [jira] [Created] (ZOOKEEPER-3817) owasp failing due to CVE-2020-9488 lists.apache.org · mailing list
- [zookeeper-dev] 20200504 [jira] [Created] (ZOOKEEPER-3817) owasp failing due to CVE-2020-9488 lists.apache.org · mailing list
- [zookeeper-notifications] 20200504 Build failed in Jenkins: zookeeper-master-maven-owasp #489 lists.apache.org · mailing list
- [zookeeper-issues] 20200504 [jira] [Assigned] (ZOOKEEPER-3817) owasp failing due to CVE-2020-9488 lists.apache.org · mailing list
- [zookeeper-issues] 20200504 [jira] [Commented] (ZOOKEEPER-3817) owasp failing due to CVE-2020-9488 lists.apache.org · mailing list
- [zookeeper-dev] 20200504 log4j SmtpAppender related CVE lists.apache.org · mailing list
- [zookeeper-notifications] 20200504 [GitHub] [zookeeper] symat opened a new pull request #1346: ZOOKEEPER-3817… lists.apache.org · mailing list
- [zookeeper-issues] 20200504 [jira] [Updated] (ZOOKEEPER-3817) owasp failing due to CVE-2020-9488 lists.apache.org · mailing list
- [zookeeper-commits] 20200504 [zookeeper] branch master updated: ZOOKEEPER-3817: suppress log4j SmtpAppender related… lists.apache.org · mailing list
- [zookeeper-commits] 20200504 [zookeeper] branch branch-3.5 updated: ZOOKEEPER-3817: suppress log4j SmtpAppender… lists.apache.org · mailing list
- [zookeeper-commits] 20200504 [zookeeper] branch branch-3.6 updated: ZOOKEEPER-3817: suppress log4j SmtpAppender… lists.apache.org · mailing list
- [zookeeper-issues] 20200504 [jira] [Resolved] (ZOOKEEPER-3817) owasp failing due to CVE-2020-9488 lists.apache.org · mailing list
34 more
- [zookeeper-notifications] 20200504 [GitHub] [zookeeper] symat commented on pull request #1346: ZOOKEEPER-3817… lists.apache.org · mailing list
- [kafka-dev] 20200514 [jira] [Created] (KAFKA-9996) upgrade zookeeper to 3.5.8 to address security vulnerabilities lists.apache.org · mailing list
- [kafka-jira] 20200514 [jira] [Created] (KAFKA-9996) upgrade zookeeper to 3.5.8 to address security vulnerabilities lists.apache.org · mailing list
- [kafka-dev] 20200514 [jira] [Created] (KAFKA-9997) upgrade log4j lib to address CVE-2020-9488 lists.apache.org · mailing list
- [kafka-jira] 20200514 [jira] [Created] (KAFKA-9997) upgrade log4j lib to address CVE-2020-9488 lists.apache.org · mailing list
- [kafka-jira] 20200515 [jira] [Commented] (KAFKA-9997) upgrade log4j lib to address CVE-2020-9488 lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpujul2020.html oracle.com
- [db-torque-dev] 20200715 Build failed in Jenkins: Torque4-trunk #685 lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuoct2020.html oracle.com
- [hive-issues] 20201207 [jira] [Work started] (HIVE-24500) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-issues] 20201207 [jira] [Assigned] (HIVE-24500) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-issues] 20201207 [jira] [Updated] (HIVE-24500) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-dev] 20201207 [jira] [Created] (HIVE-24500) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-issues] 20201208 [jira] [Work logged] (HIVE-24500) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-issues] 20201208 [jira] [Updated] (HIVE-24500) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpujan2021.html oracle.com
- https://lists.apache.org/thread.html/re024d86dffa72ad800f2848d0c77ed93f0b78ee808350b477a6ed987%40%3Cgitbox.hive.apache.org%3E lists.apache.org
- https://lists.apache.org/thread.html/rbc7642b9800249553f13457e46b813bea1aec99d2bc9106510e00ff3%40%3Ctorque-dev.db.apache.org%3E lists.apache.org
- [hive-issues] 20210125 [jira] [Work logged] (HIVE-24500) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [db-torque-dev] 20210127 Re: Items for our (delayed) quarterly report to the board? lists.apache.org · mailing list
- [db-torque-dev] 20210128 Antwort: Re: Items for our (delayed) quarterly report to the board? lists.apache.org · mailing list
- [hive-issues] 20210209 [jira] [Resolved] (HIVE-24500) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-dev] 20210216 [jira] [Created] (HIVE-24787) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-issues] 20210216 [jira] [Resolved] (HIVE-24787) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-issues] 20210216 [jira] [Assigned] (HIVE-24787) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [hive-issues] 20210218 [jira] [Updated] (HIVE-24787) Hive - upgrade log4j 2.12.1 to 2.13.2+ due to CVE-2020-9488 lists.apache.org · mailing list
- [mina-dev] 20210225 [jira] [Created] (FTPSERVER-500) Security vulnerability in common/lib/log4j-1.2.17.jar lists.apache.org · mailing list
- [flink-issues] 20210510 [GitHub] [flink] zentol opened a new pull request #15879: [FLINK-22407][build] Bump log4j to… lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuApr2021.html oracle.com
- [kafka-users] 20210617 vulnerabilities lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuoct2021.html oracle.com
- [debian-lts-announce] 20211226 [SECURITY] [DLA 2852-1] apache-log4j2 security update lists.debian.org · mailing list
- https://www.oracle.com/security-alerts/cpuapr2022.html oracle.com
Source: the record CVE-2020-9488 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.