KeygraphLabs · CVE MCP

CVE-2017-5645 · apache

CVE-2017-5645

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.

Published 2017-04-17, last changed 2026-10-08. Weakness: CWE-502.

CVSS
9.8
critical, from NVD
EPSS
88.7%
percentile 99.8%, chance of exploitation in 30 days
Exploitation
Public exploit
1 public reference

Public exploits

SourceKindReference
nucleiscan-templateCVE-2017-5645

How to fix

Upgrade to a fixed version: org.apache.logging.log4j:log4j 2.8.2 (Maven); org.apache.logging.log4j:log4j-core 2.8.2 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2017-04-17Published
2020-01-06Package advisory GHSA-fxph-q3j8-mv87
2026-10-08Record last changed
2026-11-30EPSS when our history starts: 88.7%

Affected packages

AdvisoryPackageFixed in
GHSA-fxph-q3j8-mv87org.apache.logging.log4j:log4j (Maven)2.8.2
GHSA-fxph-q3j8-mv87org.apache.logging.log4j:log4j-core (Maven)2.8.2

Also known as: GHSA-fxph-q3j8-mv87

Related

CVEPublishedCVSSSummary
CVE-2020-94882020-04-273.7same package: org.apache.logging.log4j:log4j (Maven)
CVE-2026-344802026-04-107.5Apache Log4j Core: Silent log event loss in XmlLayout due to unescaped XML 1.0 forbidden characters
CVE-2026-344792026-04-107.5Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters
CVE-2026-344782026-04-107.5Apache Log4j Core: Log injection in Rfc5424Layout due to silent configuration incompatibility
CVE-2026-344772026-04-105.9Apache Log4j Core: verifyHostName attribute silently ignored in TLS configuration, allowing hostname verification bypass
CVE-2025-681612025-12-184.8Apache Log4j Core: Missing TLS hostname verification in Socket appender
CVE-2023-264642023-03-107.5Apache Log4j 1.x (EOL) allows DoS in Chainsaw and SocketAppender
CVE-2021-448322021-12-286.6Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-5645, or call /api/v1/vulnerabilities/CVE-2017-5645. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org