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.
- Published
- Apr 17, 2017
- Updated
- Jun 16, 2026
- EPSS
- 89.8% · 100th percentile
- CWE
- CWE-502
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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
| Vendor | Product | CPE |
|---|---|---|
| apache | log4j | cpe:2.3:a:apache:log4j |
| netapp | oncommand api services | cpe:2.3:a:netapp:oncommand_api_services |
| netapp | oncommand insight | cpe:2.3:a:netapp:oncommand_insight |
| netapp | oncommand workflow automation | cpe:2.3:a:netapp:oncommand_workflow_automation |
| netapp | service level manager | cpe:2.3:a:netapp:service_level_manager |
| netapp | snapcenter | cpe:2.3:a:netapp:snapcenter |
| netapp | storage automation store | cpe:2.3:a:netapp:storage_automation_store |
| redhat | fuse | cpe:2.3:a:redhat:fuse |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | apache-log4j2 | before 2.7-2 | 2.7-2 |
| Maven | org.apache.logging.log4j:log4j | from 2.0 · before 2.8.2 | 2.8.2 |
| Maven | org.apache.logging.log4j:log4j-core | from 2.0 · before 2.8.2 | 2.8.2 |
| Red Hat:enterprise_linux:7::client | log4j | before 0:1.2.17-16.el7_4 | 0:1.2.17-16.el7_4 |
| Red Hat:enterprise_linux:7::client | log4j-javadoc | before 0:1.2.17-16.el7_4 | 0:1.2.17-16.el7_4 |
| Red Hat:enterprise_linux:7::client | log4j-manual | before 0:1.2.17-16.el7_4 | 0:1.2.17-16.el7_4 |
| Red Hat:jboss_enterprise_application_platform:5::el5 | log4j | before 0:1.2.14-19.patch_01.ep5.el5 | 0:1.2.14-19.patch_01.ep5.el5 |
| Red Hat:jboss_enterprise_application_platform:5::el6 | log4j | before 0:1.2.14-19.patch_01.ep5.el6 | 0:1.2.14-19.patch_01.ep5.el6 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | apache-cxf | before 0:2.7.18-7.SP6_redhat_1.1.ep6.el5 | 0:2.7.18-7.SP6_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | codehaus-jackson | before 0:1.9.9-11.redhat_5.1.ep6.el5 | 0:1.9.9-11.redhat_5.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | codehaus-jackson-core-asl | before 0:1.9.9-11.redhat_5.1.ep6.el5 | 0:1.9.9-11.redhat_5.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | codehaus-jackson-jaxrs | before 0:1.9.9-11.redhat_5.1.ep6.el5 | 0:1.9.9-11.redhat_5.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | codehaus-jackson-mapper-asl | before 0:1.9.9-11.redhat_5.1.ep6.el5 | 0:1.9.9-11.redhat_5.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | codehaus-jackson-xc | before 0:1.9.9-11.redhat_5.1.ep6.el5 | 0:1.9.9-11.redhat_5.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | hibernate4-core-eap6 | before 0:4.2.27-1.Final_redhat_1.1.ep6.el5 | 0:4.2.27-1.Final_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | hibernate4-eap6 | before 0:4.2.27-1.Final_redhat_1.1.ep6.el5 | 0:4.2.27-1.Final_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | hibernate4-entitymanager-eap6 | before 0:4.2.27-1.Final_redhat_1.1.ep6.el5 | 0:4.2.27-1.Final_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | hibernate4-envers-eap6 | before 0:4.2.27-1.Final_redhat_1.1.ep6.el5 | 0:4.2.27-1.Final_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | hibernate4-infinispan-eap6 | before 0:4.2.27-1.Final_redhat_1.1.ep6.el5 | 0:4.2.27-1.Final_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | hornetq | before 0:2.3.25-22.SP20_redhat_1.1.ep6.el5 | 0:2.3.25-22.SP20_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | infinispan | before 0:5.2.22-1.Final_redhat_1.1.ep6.el5 | 0:5.2.22-1.Final_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | infinispan-cachestore-jdbc | before 0:5.2.22-1.Final_redhat_1.1.ep6.el5 | 0:5.2.22-1.Final_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | infinispan-cachestore-remote | before 0:5.2.22-1.Final_redhat_1.1.ep6.el5 | 0:5.2.22-1.Final_redhat_1.1.ep6.el5 |
| Red Hat:jboss_enterprise_application_platform:6::el5 | infinispan-client-hotrod | before 0:5.2.22-1.Final_redhat_1.1.ep6.el5 | 0:5.2.22-1.Final_redhat_1.1.ep6.el5 |
+96
Same product
apache: all recordsOther 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 endpointsKEV100Now
- CVE-2021-45046Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attackKEV96Now
- 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 exe60This week
- CVE-2022-23305SQL injection in JDBC Appender in Apache Log4j V159Plan
- CVE-2021-44832Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration55Plan
- CVE-2022-23302Deserialization of untrusted data in JMSSink in Apache Log4j 1.x54Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Debian:apache-log4j2 | 2.7-2 · Debian:12 | Package registry (OSV) |
| Maven:org.apache.logging.log4j:log4j | 2.8.2 | Package registry (OSV) |
| Maven:org.apache.logging.log4j:log4j-core | 2.8.2 | Package registry (OSV) |
| Red Hat:log4j-eap6 | 0:1.2.16-12.redhat_3.1.ep6.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| Red Hat:rh-java-common-log4j | 0:1.2.17-15.15.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| Red Hat:rh-java-common-log4j-javadoc | 0:1.2.17-15.15.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| Red Hat:rh-java-common-log4j-manual | 0:1.2.17-15.15.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| Red Hat:tomcat-native | 0:1.2.8-10.redhat_10.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| Red Hat:tomcat-native-debuginfo | 0:1.2.8-10.redhat_10.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| Red Hat:tomcat7 | 0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| Red Hat:tomcat7-admin-webapps | 0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| Red Hat:tomcat7-docs-webapp | 0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| Red Hat:tomcat7-el-2.2-api | 0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| Red Hat:tomcat7-javadoc | 0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package registry (OSV) |
| Red Hat:tomcat7-jsp-2.2-api | 0:7.0.70-22.ep7.el6 · Red Hat:jboss_enterprise_web_server:3.1::el6 | Package 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.
| Source | Kind | Date |
|---|---|---|
| Nuclei detection template | Nuclei template CVE-2017-5645 | — |
| Proof-of-concept repository on GitHub | stars:92 | 2017-08-04 |
| Proof-of-concept repository on GitHub | stars:39 | 2021-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.
- Published
- First PoC+108 d
- TodaySep 29, 2026+3452 d
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.
Credits
All researchersFinders, 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
Weakness class (CWE)
CWE-502 · Deserialization of Untrusted DataCVSS 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.
The bug in code
The whole CWE-502 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
payload = sock.recv(65536)job = pickle.loads(payload)Fixed
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.
Attack patterns (CAPEC)
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.openwall.com/lists/oss-security/2019/12/19/2
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- www.securityfocus.com/bid/97702
- www.securitytracker.com/id/1040200
- www.securitytracker.com/id/1041294
- access.redhat.com/errata/RHSA-2017:1417
- access.redhat.com/errata/RHSA-2017:1801
- access.redhat.com/errata/RHSA-2017:1802
- access.redhat.com/errata/RHSA-2017:2423
- access.redhat.com/errata/RHSA-2017:2633
- access.redhat.com/errata/RHSA-2017:2635
- access.redhat.com/errata/RHSA-2017:2636
- access.redhat.com/errata/RHSA-2017:2637
- access.redhat.com/errata/RHSA-2017:2638
- access.redhat.com/errata/RHSA-2017:2808
- access.redhat.com/errata/RHSA-2017:2809
- access.redhat.com/errata/RHSA-2017:2810
Vendor advisories and official records. Exploit/PoC links are deliberately left out.