CVE-2024-12798
QOS.CH logback-core Expression Language Injection vulnerability
Description
ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core up to and including version 1.5.12 in Java applications allows attackers to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution.
Malicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension.
A successful attack requires the user to have write access to a configuration file. Alternatively, the attacker could inject a malicious environment variable pointing to a malicious configuration file. In both cases, the attack requires existing privilege.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| ch.qos.logback » logback-core | < 1.3.15>= 1.4.0, < 1.5.13 | 1.3.15, 1.5.13 |
Blast radius
74% of the dependent artifacts (61,957) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 106,876 |
| 2 hops | 488,004 |
| 3 hops | 531,302 |
| 4 hops | 583,699 |
| 5 hops | 558,773 |
| 6 hops | 243,210 |
Most used dependents
- org.sonatype.plugins » nexus-staging-maven-plugin36,701 usages
- ch.qos.logback » logback-classic35,217 usages
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.reflections » reflections5,225 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.springframework.boot » spring-boot-starter-aop4,662 usages
- org.springframework.boot » spring-boot-starter-data-jpa4,154 usages
- org.springframework.boot » spring-boot-starter-security3,606 usages
- io.netty » netty-all3,584 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.codehaus.mojo » cobertura-maven-plugin3,365 usages
- org.apache.spark » spark-sql3,174 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
