Vulnerability · Published Dec 19, 2024 · Assigned by NCSC.ch
CVE-2024-12798JaninoEventEvaluator vulnerability
Medium 5.9
In plain English
A medium-severity expression language injection in Logback-core from QOS.CH Sarl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core upto including version 0.1 to 1.3.14 and 1.4.0 to 1.5.12 in Java applications allows attacker 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | logback | no fix listed | DEBIAN-CVE-2024-12798 |
| Debian:13 | logback | no fix listed | DEBIAN-CVE-2024-12798 |
| Debian:14 | logback | 1:1.6.3-1 | DEBIAN-CVE-2024-12798 |
| Maven | ch.qos.logback:logback-core | 1.3.15 | GHSA-pr98-23f8-jwxv |
| Maven | ch.qos.logback:logback-core | 1.5.13 | GHSA-pr98-23f8-jwxv |
| Ubuntu:22.04:LTS | logback | no fix listed | UBUNTU-CVE-2024-12798 |
| Ubuntu:24.04:LTS | logback | no fix listed | UBUNTU-CVE-2024-12798 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| QOS.CH Sarl | Logback-core | 0.1 – through 1.3.141.4.0 – through 1.5.12 |
Weakness: CWE-917 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/RE:L/U:Clear