{"id":"CVE-2024-12798","aliases":["CVE-2024-12798","GHSA-pr98-23f8-jwxv"],"related":[],"kind":"vulnerability","state":"published","title":"JaninoEventEvaluator vulnerability","summary":"ACE vulnerability in JaninoEventEvaluator  by QOS.CH logback-core\n      upto including version 0.1 to 1.3.14 and 1.4.0 to 1.5.12 in Java applications allows\n      attacker to execute arbitrary code by compromising an existing\n      logback configuration file or by injecting an environment variable\n      before program execution.\n\n\n\n\n\nMalicious logback configuration files can allow the attacker to execute \narbitrary code using the JaninoEventEvaluator extension.\n\n\n\nA successful attack requires the user to have write access to a \nconfiguration file. Alternatively, the attacker could inject a malicious \nenvironment variable pointing to a malicious configuration file. In both \ncases, the attack requires existing privilege.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ACE vulnerability in JaninoEventEvaluator  by QOS.CH logback-core\n      upto including version 0.1 to 1.3.14 and 1.4.0 to 1.5.12 in Java applications allows\n      attacker to execute arbitrary code by compromising an existing\n      logback configuration file or by injecting an environment variable\n      before program execution.\n\n\n\n\n\nMalicious logback configuration files can allow the attacker to execute \narbitrary code using the JaninoEventEvaluator extension.\n\n\n\nA successful attack requires the user to have write access to a \nconfiguration file. Alternatively, the attacker could inject a malicious \nenvironment variable pointing to a malicious configuration file. In both \ncases, the attack requires existing privilege.","source":"cvelist"},{"lang":"en","text":"ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core up to and including version 1.5.12 in Java applications allows attackers to execute arbitrary code by compromising an existing logback configuration file or by injecting an environment variable before program execution.\n\nMalicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension.\n\nA 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"La vulnerabilidad ACE en JaninoEventEvaluator por parte de QOS.CH logback-core hasta la versión 1.5.12 incluida en aplicaciones Java permite al atacante ejecutar código arbitrario comprometiendo un archivo de configuración de logback existente o inyectando una variable de entorno antes de la ejecución del programa. Los archivos de configuración de logback maliciosos pueden permitir al atacante ejecutar código arbitrario utilizando la extensión JaninoEventEvaluator. Un ataque exitoso requiere que el usuario tenga acceso de escritura a un archivo de configuración. Alternativamente, el atacante podría inyectar una variable de entorno maliciosa que apunte a un archivo de configuración malicioso. En ambos casos, el ataque requiere privilegios existentes.","source":"nvd"}],"published":"2024-12-19T15:14:21.598Z","modified":"2026-09-10T03:50:21.783Z","severity":{"scorer":"NCSC.ch","scheme":"CVSS:4.0","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","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"NCSC.ch","scheme":"CVSS:4.0","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","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-917"],"affected":[{"ranges":[{"type":"maven","introduced":"0.1","lastAffected":"1.3.14","status":"affected"},{"type":"maven","introduced":"1.4.0","lastAffected":"1.5.12","status":"affected"},{"version":"1.3.15","status":"unaffected"},{"version":"1.5.13","status":"unaffected"}],"vendor":"QOS.CH Sarl","product":"Logback-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.4.0","status":"affected","fixed":"1.5.13"}],"ecosystem":"Maven","package":"ch.qos.logback:logback-core","purl":"pkg:maven/ch.qos.logback/logback-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.15"}],"ecosystem":"Maven","package":"ch.qos.logback:logback-core","purl":"pkg:maven/ch.qos.logback/logback-core","source":"ghsa"}],"references":[{"url":"https://logback.qos.ch/news.html#1.5.13","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://logback.qos.ch/news.html#1.3.15","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12798","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/qos-ch/logback/commit/2cb6d520df7592ef1c3a198f1b5df3c10c93e183","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/qos-ch/logback","tags":["package"],"sources":["ghsa"]}],"credits":["7asecurity"],"assigner":"NCSC.ch","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-12-20T20:17:18.406Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12798","url":"https://www.cve.org/CVERecord?id=CVE-2024-12798","licence":"CVE Terms of Use","modified":"2025-01-03T13:38:58.152Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pr98-23f8-jwxv","url":"https://github.com/advisories/GHSA-pr98-23f8-jwxv","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:21.783Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12798","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12798","licence":"Public domain","modified":"2026-06-17T07:00:31.077Z"}],"updatedAt":"2026-11-25T22:58:50.265Z","epss":{"score":0.00472,"percentile":0.42418,"date":"2026-12-01T12:00:22.000Z"}}