CVE-2017-5645
Vulnerability in Apache Log4j
Description
In Apache Log4j 2.x before 2.8.2, when using the TCP socket server or UDP socket server to receive serialized log events from another application, a specially crafted binary payload can be sent that, when deserialized, can execute arbitrary code.
Exploitation
EPSS 88.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.8% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 8 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache Log4j |
affected All versions between 2.0-alpha1 and 2.8.1
|
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-2017-5645 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-5645RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-5645Alpine
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-2017-5645
trivy image --scanners vuln IMAGE | grep CVE-2017-5645
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
- RHSA-2017:2888 access.redhat.com · vendor advisory
- RHSA-2017:2809 access.redhat.com · vendor advisory
- RHSA-2017:2810 access.redhat.com · vendor advisory
- RHSA-2017:1801 access.redhat.com · vendor advisory
- RHSA-2017:2889 access.redhat.com · vendor advisory
- RHSA-2017:2635 access.redhat.com · vendor advisory
- RHSA-2017:2638 access.redhat.com · vendor advisory
- RHSA-2017:1417 access.redhat.com · vendor advisory
- RHSA-2017:2423 access.redhat.com · vendor advisory
- RHSA-2017:2808 access.redhat.com · vendor advisory
- RHSA-2017:2636 access.redhat.com · vendor advisory
- RHSA-2017:3399 access.redhat.com · vendor advisory
15 more
- RHSA-2017:2637 access.redhat.com · vendor advisory
- RHSA-2017:3244 access.redhat.com · vendor advisory
- RHSA-2017:3400 access.redhat.com · vendor advisory
- RHSA-2017:2633 access.redhat.com · vendor advisory
- RHSA-2017:2811 access.redhat.com · vendor advisory
- RHSA-2017:1802 access.redhat.com · vendor advisory
- RHSA-2019:1545 access.redhat.com · vendor advisory
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html oracle.com
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html oracle.com
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html oracle.com
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html oracle.com
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html oracle.com
- https://security.netapp.com/advisory/ntap-20181107-0002/ security.netapp.com
- https://security.netapp.com/advisory/ntap-20180726-0002/ security.netapp.com
- https://issues.apache.org/jira/browse/LOG4J2-1863 issues.apache.org
Other references
- 97702 securityfocus.com · vdb entry
- 1041294 securitytracker.com · vdb entry
- 1040200 securitytracker.com · vdb entry
- [druid-commits] 20191115 [GitHub] [incubator-druid] ccaominh opened a new pull request #8878: Address security… lists.apache.org · mailing list
- [logging-dev] 20191215 Re: Is there any chance that there will be a security fix for log4j-v1.2.17? lists.apache.org · mailing list
- [logging-dev] 20191218 [CVE-2019-17571] Apache Log4j 1.2 deserialization of untrusted data in SocketServer lists.apache.org · mailing list
- [oss-security] 20191218 [CVE-2019-17571] Apache Log4j 1.2 deserialization of untrusted data in SocketServer openwall.com · mailing list
- [announce] 20191218 [CVE-2019-17571] Apache Log4j 1.2 deserialization of untrusted data in SocketServer lists.apache.org · mailing list
- [logging-dev] 20191219 Re: [CVE-2019-17571] Apache Log4j 1.2 deserialization of untrusted data in SocketServer lists.apache.org · mailing list
- [activemq-issues] 20191226 [jira] [Created] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is vulnerable… lists.apache.org · mailing list
- [tika-dev] 20191226 [jira] [Created] (TIKA-3018) log4j 1.2 version used by Apache Tika 1.23 is vulnerable to… lists.apache.org · mailing list
- [tika-dev] 20191226 [jira] [Commented] (TIKA-3018) log4j 1.2 version used by Apache Tika 1.23 is vulnerable to… lists.apache.org · mailing list
43 more
- [tika-dev] 20191230 [jira] [Created] (TIKA-3019) [9.8] [CVE-2019-17571] [tika-app] [1.23] lists.apache.org · mailing list
- [activemq-issues] 20191230 [jira] [Created] (AMQ-7372) [9.8] [CVE-2019-17571] [activemq-all] [5.15.10] lists.apache.org · mailing list
- [tika-dev] 20200106 [jira] [Commented] (TIKA-3019) [9.8] [CVE-2019-17571] [tika-app] [1.23] lists.apache.org · mailing list
- [tika-dev] 20200107 [jira] [Commented] (TIKA-3019) [9.8] [CVE-2019-17571] [tika-app] [1.23] lists.apache.org · mailing list
- [tika-dev] 20200108 [jira] [Commented] (TIKA-3019) [9.8] [CVE-2019-17571] [tika-app] [1.23] lists.apache.org · mailing list
- [tika-dev] 20200110 [jira] [Commented] (TIKA-3019) [9.8] [CVE-2019-17571] [tika-app] [1.23] lists.apache.org · mailing list
- [tika-dev] 20200111 Re: [jira] [Commented] (TIKA-3018) log4j 1.2 version used by Apache Tika 1.23 is vulnerable to… lists.apache.org · mailing list
- [tika-dev] 20200111 [jira] [Closed] (TIKA-3018) log4j 1.2 version used by Apache Tika 1.23 is vulnerable to… lists.apache.org · mailing list
- [tika-dev] 20200111 [jira] [Resolved] (TIKA-3018) log4j 1.2 version used by Apache Tika 1.23 is vulnerable to… lists.apache.org · mailing list
- [tika-dev] 20200114 [jira] [Commented] (TIKA-3019) [9.8] [CVE-2019-17571] [tika-app] [1.23] lists.apache.org · mailing list
- [tika-dev] 20200115 [jira] [Commented] (TIKA-3019) [9.8] [CVE-2019-17571] [tika-app] [1.23] lists.apache.org · mailing list
- [activemq-issues] 20200122 [jira] [Updated] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is vulnerable… lists.apache.org · mailing list
- [activemq-issues] 20200122 [jira] [Assigned] (AMQ-7372) [9.8] [CVE-2019-17571] [activemq-all] [5.15.10] lists.apache.org · mailing list
- [activemq-issues] 20200122 [jira] [Updated] (AMQ-7372) [9.8] [CVE-2019-17571] [activemq-all] [5.15.10] lists.apache.org · mailing list
- [activemq-issues] 20200122 [jira] [Assigned] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is… lists.apache.org · mailing list
- [activemq-issues] 20200122 [jira] [Resolved] (AMQ-7372) [9.8] [CVE-2019-17571] [activemq-all] [5.15.10] lists.apache.org · mailing list
- [activemq-issues] 20200127 [jira] [Commented] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is… lists.apache.org · mailing list
- [activemq-issues] 20200208 [jira] [Commented] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is… lists.apache.org · mailing list
- [activemq-issues] 20200228 [jira] [Commented] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is… lists.apache.org · mailing list
- [activemq-issues] 20200228 [jira] [Resolved] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is… lists.apache.org · mailing list
- [activemq-issues] 20200228 [jira] [Updated] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is vulnerable… lists.apache.org · mailing list
- [logging-commits] 20200425 svn commit: r1059809 - /websites/production/logging/content/log4j/2.13.2/security.html lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuapr2020.html oracle.com
- https://www.oracle.com/security-alerts/cpujul2020.html oracle.com
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html oracle.com
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html oracle.com
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html oracle.com
- https://www.oracle.com/security-alerts/cpujan2020.html oracle.com
- [bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the… lists.apache.org · mailing list
- [activemq-issues] 20200730 [jira] [Commented] (AMQ-7370) log4j 1.2 version used by AMQ 5.15.10 / 5.15.11 is… lists.apache.org · mailing list
- [geode-issues] 20200831 [jira] [Created] (GEODE-8471) Dependency security issues in geode-core-1.12 lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuoct2020.html oracle.com
- https://www.oracle.com/security-alerts/cpujan2021.html oracle.com
- [doris-commits] 20210402 [GitHub] [incubator-doris] zh0122 opened a new pull request #5594: [FE][Bug]Update… lists.apache.org · mailing list
- [beam-issues] 20210528 [jira] [Created] (BEAM-12422) Vendored gRPC 1.36.0 is using a log4j version with security issues lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuApr2021.html oracle.com
- [beam-github] 20210701 [GitHub] [beam] lukecwik commented on pull request #15113: [BEAM-12422] Upgrade log4j version… lists.apache.org · mailing list
- [beam-github] 20210701 [GitHub] [beam] lukecwik opened a new pull request #15113: [BEAM-12422] Upgrade log4j version… lists.apache.org · mailing list
- [beam-github] 20210701 [GitHub] [beam] codecov[bot] commented on pull request #15113: [BEAM-12422] Upgrade log4j… lists.apache.org · mailing list
- [beam-github] 20210701 [GitHub] [beam] codecov[bot] edited a comment on pull request #15113: [BEAM-12422] Upgrade… lists.apache.org · mailing list
- [beam-github] 20210701 [GitHub] [beam] suztomo commented on pull request #15113: [BEAM-12422] Upgrade log4j version… lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuoct2021.html oracle.com
- https://www.oracle.com/security-alerts/cpujan2022.html oracle.com
Source: the record CVE-2017-5645 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.