Skip to content
Noroxi
CVE-2017-5645· NVD / CVE Program· CNA apache

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 applic

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.

CriticalCVSS 9.8 · v3.1—Proof of concept Fix available
Published
Apr 17, 2017
Updated
Jun 16, 2026
EPSS
89.8% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

66

This week

Don’t wait for the next maintenance window.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
27 / 30 · 89.8%

Affected systems

VendorProduct
apachelog4j
netapponcommand api services
netapponcommand insight
netapponcommand workflow automation
netappservice level manager
netappsnapcenter
netappstorage automation store
redhatfuse
redhatenterprise linux
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux server aus

and 67 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache log4j2.0 and later · before 2.8.2
  • netapp oncommand api servicesall versions
  • netapp oncommand insightall versions
  • netapp oncommand workflow automationall versions
  • netapp service level managerall versions
  • netapp snapcenterall versions
  • netapp storage automation storeall versions
  • oracle api gateway11.1.2.4.0
  • oracle application testing suite13.3.0.1
  • oracle autovue vuelink integration21.0.0
  • oracle autovue vuelink integration21.0.1
  • oracle banking platform2.6.0
  • oracle banking platform2.6.1
  • oracle banking platform2.6.2
  • oracle bi publisher11.1.1.7.0
  • oracle bi publisher11.1.1.9.0
  • oracle bi publisher12.2.1.3.0
  • oracle bi publisher12.2.1.4.0
  • oracle communications converged application server - service controller6.1
  • oracle communications instant messaging server10.0.1.3.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.

  • Apache Software Foundation Apache Log4j

    • All versions between 2.0-alpha1 and 2.8.1affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12apache-log4j2before 2.7-22.7-2
Mavenorg.apache.logging.log4j:log4jfrom 2.0 · before 2.8.22.8.2
Mavenorg.apache.logging.log4j:log4j-corefrom 2.0 · before 2.8.22.8.2
Red Hat:enterprise_linux:7::clientlog4jbefore 0:1.2.17-16.el7_40:1.2.17-16.el7_4
Red Hat:enterprise_linux:7::clientlog4j-javadocbefore 0:1.2.17-16.el7_40:1.2.17-16.el7_4
Red Hat:enterprise_linux:7::clientlog4j-manualbefore 0:1.2.17-16.el7_40:1.2.17-16.el7_4
Red Hat:jboss_enterprise_application_platform:5::el5log4jbefore 0:1.2.14-19.patch_01.ep5.el50:1.2.14-19.patch_01.ep5.el5
Red Hat:jboss_enterprise_application_platform:5::el6log4jbefore 0:1.2.14-19.patch_01.ep5.el60:1.2.14-19.patch_01.ep5.el6
Red Hat:jboss_enterprise_application_platform:6::el5apache-cxfbefore 0:2.7.18-7.SP6_redhat_1.1.ep6.el50:2.7.18-7.SP6_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jacksonbefore 0:1.9.9-11.redhat_5.1.ep6.el50:1.9.9-11.redhat_5.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jackson-core-aslbefore 0:1.9.9-11.redhat_5.1.ep6.el50:1.9.9-11.redhat_5.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jackson-jaxrsbefore 0:1.9.9-11.redhat_5.1.ep6.el50:1.9.9-11.redhat_5.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jackson-mapper-aslbefore 0:1.9.9-11.redhat_5.1.ep6.el50:1.9.9-11.redhat_5.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5codehaus-jackson-xcbefore 0:1.9.9-11.redhat_5.1.ep6.el50:1.9.9-11.redhat_5.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5hibernate4-core-eap6before 0:4.2.27-1.Final_redhat_1.1.ep6.el50:4.2.27-1.Final_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5hibernate4-eap6before 0:4.2.27-1.Final_redhat_1.1.ep6.el50:4.2.27-1.Final_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5hibernate4-entitymanager-eap6before 0:4.2.27-1.Final_redhat_1.1.ep6.el50:4.2.27-1.Final_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5hibernate4-envers-eap6before 0:4.2.27-1.Final_redhat_1.1.ep6.el50:4.2.27-1.Final_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5hibernate4-infinispan-eap6before 0:4.2.27-1.Final_redhat_1.1.ep6.el50:4.2.27-1.Final_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5hornetqbefore 0:2.3.25-22.SP20_redhat_1.1.ep6.el50:2.3.25-22.SP20_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5infinispanbefore 0:5.2.22-1.Final_redhat_1.1.ep6.el50:5.2.22-1.Final_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5infinispan-cachestore-jdbcbefore 0:5.2.22-1.Final_redhat_1.1.ep6.el50:5.2.22-1.Final_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5infinispan-cachestore-remotebefore 0:5.2.22-1.Final_redhat_1.1.ep6.el50:5.2.22-1.Final_redhat_1.1.ep6.el5
Red Hat:jboss_enterprise_application_platform:6::el5infinispan-client-hotrodbefore 0:5.2.22-1.Final_redhat_1.1.ep6.el50:5.2.22-1.Final_redhat_1.1.ep6.el5

+96

Other highest-scoring records for the same primary product.

  • CVE-2021-44228Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpointsKEV
    100Now
  • CVE-2021-45046Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attackKEV
    96Now
  • CVE-2019-17571Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely exe
    60This week
  • CVE-2022-23305SQL injection in JDBC Appender in Apache Log4j V1
    59Plan
  • CVE-2021-44832Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration
    55Plan
  • CVE-2022-23302Deserialization of untrusted data in JMSSink in Apache Log4j 1.x
    54Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Debian:apache-log4j22.7-2 · Debian:12Package registry (OSV)
Maven:org.apache.logging.log4j:log4j2.8.2Package registry (OSV)
Maven:org.apache.logging.log4j:log4j-core2.8.2Package registry (OSV)
Red Hat:log4j-eap60:1.2.16-12.redhat_3.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
Red Hat:rh-java-common-log4j0:1.2.17-15.15.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
Red Hat:rh-java-common-log4j-javadoc0:1.2.17-15.15.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
Red Hat:rh-java-common-log4j-manual0:1.2.17-15.15.el6 · Red Hat:rhel_software_collections:2::el6Package registry (OSV)
Red Hat:tomcat-native0:1.2.8-10.redhat_10.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
Red Hat:tomcat-native-debuginfo0:1.2.8-10.redhat_10.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
Red Hat:tomcat70:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
Red Hat:tomcat7-admin-webapps0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
Red Hat:tomcat7-docs-webapp0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
Red Hat:tomcat7-el-2.2-api0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
Red Hat:tomcat7-javadoc0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)
Red Hat:tomcat7-jsp-2.2-api0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Nuclei detection templateNuclei template CVE-2017-5645 —
Proof-of-concept repository on GitHubstars:922017-08-04
Proof-of-concept repository on GitHubstars:392021-12-14

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+108 d
  3. TodaySep 29, 2026+3452 d
EPSS, last 120 days+1% in 7 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Root cause

Data received over the network is deserialized into the language’s native object format without verifying its source. Code paths inside the object can be triggered during deserialization.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

python
payload = sock.recv(65536)job = pickle.loads(payload)

Fixed

python
payload = sock.recv(65536)if not hmac.compare_digest(sign(payload), header_sig):    raise PermissionError("invalid signature")job = JobSchema.validate(json.loads(payload))

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records