CVE-2024-12798
JaninoEventEvaluator vulnerability
Also known as GHSA-pr98-23f8-jwxv
Mitigation
- Upgrade ch.qos.logback:logback-core to one of 1.5.13, 1.3.15 (or later in the same release line).
- Vendor workaround: Remove Janino from the Java classpath. Alternatively, update to logback
- version 1.5.13 or later. If you are using the 1.3.x series, update to
- logback version 1.3.15 or later. Note that the 1.4.x series remains
- vulnerable.
Who should check
- Projects that depend on Maven package ch.qos.logback:logback-core (>= 1.4.0, < 1.5.13)
- Anyone running QOS.CH Sarl Logback-core >= 0.1, <= 1.3.14; >= 1.4.0, <= 1.5.12
Vulnerability facts
- Affected
- ch.qos.logback:logback-core >= 1.4.0, < 1.5.13
- Fixed in
- 1.5.13, 1.3.15
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.9 (v4.0, CNA)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:ClearOpen in CVSS calculator
Show all 13 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: Passive
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: Low
- Confidentiality impact on other systems: Low
- Integrity impact on other systems: High
- Availability impact on other systems: Low
- RE: L
- U: Clear
- EPSS
- 0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-917
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven ch.qos.logback:logback-core | >= 1.4.0, < 1.5.13 | 1.5.13, 1.3.15 | osv |
| QOS.CH Sarl Logback-core | >= 0.1, <= 1.3.14; >= 1.4.0, <= 1.5.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-12798. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-12798.md Affected: ch.qos.logback:logback-core >= 1.4.0, < 1.5.13 Fixed in: 1.5.13, 1.3.15 Steps: 1. Search this machine and project for ch.qos.logback:logback-core (Maven), QOS.CH Sarl Logback-core: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2024-12798 being exploited?
There is no confirmed exploitation: CVE-2024-12798 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-12798?
Medium: CVSS 5.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-12798?
ch.qos.logback:logback-core >= 1.4.0, < 1.5.13.
Is there a fix for CVE-2024-12798?
Yes. Fixed in 1.5.13, 1.3.15. Upgrade ch.qos.logback:logback-core to one of 1.5.13, 1.3.15 (or later in the same release line). Vendor workaround: Remove Janino from the Java classpath. Alternatively, update to logback version 1.5.13 or later. If you are using the 1.3.x series, update to logback version 1.3.15 or later. Note that the 1.4.x series remains vulnerable.
How do I check if I'm affected by CVE-2024-12798?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.