# CVE-2024-12798: JaninoEventEvaluator vulnerability

- Severity: Medium 5.9 (CVSS:4.0, scored by NCSC.ch) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2024-12-19T15:14:21.598Z
- Modified: 2026-09-10T03:50:21.783Z
- Also known as: GHSA-pr98-23f8-jwxv
- Weaknesses: CWE-917
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: NCSC.ch

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

(As written by CVE List.)

## Affected

- QOS.CH Sarl Logback-core: from 0.1 up to 1.3.14; from 1.4.0 up to 1.5.12 (not affected: 1.3.15; 1.5.13)
- ch.qos.logback:logback-core (Maven): from 1.4.0 before 1.5.13; before 1.3.15

## Every score

- NCSC.ch: CVSS:4.0 5.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://logback.qos.ch/news.html#1.5.13> (web)
- <https://logback.qos.ch/news.html#1.3.15> (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)

## Sources

- CVE List: [CVE-2024-12798](https://www.cve.org/CVERecord?id=CVE-2024-12798), CVE Terms of Use, modified 2025-01-03
- GitHub Advisory Database: [GHSA-pr98-23f8-jwxv](https://github.com/advisories/GHSA-pr98-23f8-jwxv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-12798](https://nvd.nist.gov/vuln/detail/CVE-2024-12798), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12798 · Whole record: https://cve.day/CVE-2024-12798.json · Rebuilt by cve.day 2026-11-25T22:58:50.265Z
