2.25.4
13 years ago
1 months ago
Known vulnerabilities in the org.apache.logging.log4j:log4j-core package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
org.apache.logging.log4j:log4j-core is a logging library for Java. Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the Log4j1XmlLayout plugin. An attacker can cause log events to be silently lost or downstream log processing systems to drop or fail to index affected records by introducing XML 1.0 forbidden characters into log messages, resulting in malformed XML output that conforming XML parsers reject with a fatal error. How to fix Improper Encoding or Escaping of Output? A fix was pushed into the | [2.7,2.25.4)[3.0.0-alpha1,) |
org.apache.logging.log4j:log4j-core is a logging library for Java. Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the XmlLayout plugin. An attacker can cause log events to be silently lost or malformed by injecting XML 1.0 forbidden characters into log messages or MDC values. This may result in malformed XML output, which can cause downstream log-processing systems to drop affected records or prevent log events from being delivered to their intended destinations. How to fix Improper Encoding or Escaping of Output? A fix was pushed into the | [2.0-alpha1,2.25.4)[3.0.0-alpha1,) |
org.apache.logging.log4j:log4j-core is a logging library for Java. Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch due to the lack of TLS hostname verification in the SocketAppender component when configured through the Note: This issue is due to incomplete fix for CVE-2025-68161. How to fix Improper Validation of Certificate with Host Mismatch? A fix was pushed into the | [2.12.0,2.25.4)[3.0.0-alpha1,) |
org.apache.logging.log4j:log4j-core is a logging library for Java. Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch due to the lack of TLS hostname verification in the How to fix Improper Validation of Certificate with Host Mismatch? Upgrade | [,2.25.3) |
org.apache.logging.log4j:log4j-core is a logging library for Java. Affected versions of this package are vulnerable to Arbitrary Code Execution. An attacker with access to modification of logging configuration is able to configure In the fixed versions, How to fix Arbitrary Code Execution? Upgrade | [2.0-beta7,2.3.2)[2.4,2.12.4)[2.13.0,2.17.1) |
org.apache.logging.log4j:log4j-core is a logging library for Java. Affected versions of this package are vulnerable to Denial of Service (DoS). Does not protect against uncontrolled recursion from self-referential lookups. When the logging configuration uses a non-default Pattern Layout with a Context Lookup (for example, PoCIn
In
How to fix Denial of Service (DoS)? Upgrade | [2.0-beta9,2.3.1)[2.4,2.12.3)[2.13.0,2.17.0) |
org.apache.logging.log4j:log4j-core is a logging library for Java. Affected versions of this package are vulnerable to Remote Code Execution (RCE) if one of the following conditions is met:
A malicious actor is able to bypass the mitigation implemented in version 2.15.0 that limits JNDI lookups to localhost only: We recommend updating to version 2.16.0 which completely disables JNDI lookups by default. If upgrading is not an option, this issue can be mitigated in prior releases by removing the PoCIn config:
In code:
HistoryThis vulnerability was previously assigned a CVSS score of 3.7 (Low), and the impact was believed to be Denial of Service (DoS). Furthermore, the advisory previously mentioned Thread Context Map patterns (%X, %mdc, or %MDC) as being vulnerable to this issue, but that has since been proven wrong. On December 17, 2021 new information came to light, demonstrating that an Arbitrary Code Execution vulnerability still exists in version 2.15.0 of Log4j due to a bypass to the localhost-only lookup mechanism. How to fix Remote Code Execution (RCE)? Upgrade | [2.0-beta9,2.3.1)[2.4,2.12.2)[2.13.0,2.16.0) |
org.apache.logging.log4j:log4j-core is a logging library for Java. Affected versions of this package are vulnerable to Remote Code Execution (RCE). Apache Log4j2 JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, JNDI LDAP endpoints are restricted to localhost by default. How to fix Remote Code Execution (RCE)? Upgrade Use this guide to scan your projects for the Log4Shell vulnerability. | [2.0-beta9,2.3.1)[2.4,2.12.2)[2.13.0,2.15.0) |