CVE-2024-12798
MEDIUM 5.9CVSS 4.0QOS.CH logback-core Expression Language Injection vulnerability
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.
- Published
- 19 Dec 2024
- Last modified
- 10 Sep 2026
- Assigned by
- vulnerability@ncsc.ch
- NVD status
- Deferred
- Weakness
- CWE-917
- Also known as
- GHSA-pr98-23f8-jwxv
- Sources
- NVDJSONOSV GHSA-pr98-23f8-jwxvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | vulnerability@ncsc.ch (Secondary) | CVSS 4.0 | MEDIUM 5.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:L/U:Clear |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | ch.qos.logback:logback-core | >= 1.4.0, < 1.5.13 | 1.5.13 |
| OSV | Maven | ch.qos.logback:logback-core | < 1.3.15 | 1.3.15 |
References
- https://logback.qos.ch/news.html#1.3.15 · WEB
- https://logback.qos.ch/news.html#1.5.13 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-12798 · ADVISORY
- https://github.com/qos-ch/logback/commit/2cb6d520df7592ef1c3a198f1b5df3c10c93e183 · WEB
- https://github.com/qos-ch/logback · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 19 Dec 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Dec 2024)