{"id":"CVE-2024-12798","published":"2024-12-19T15:14:21Z","modified":"2025-01-03T13:38:58Z","title":"JaninoEventEvaluator vulnerability","vendor":"QOS.CH Sarl","product":"Logback-core","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00458,"percentile":0.40579,"provenance":"source"},"cwes":[{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"references":[{"url":"https://logback.qos.ch/news.html#1.5.13","tags":[]},{"url":"https://logback.qos.ch/news.html#1.3.15","tags":[]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":8.12},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"qos-ch-sarl","affectedVersions":[{"vendor":"QOS.CH Sarl","product":"Logback-core","versions":[">= 0.1, <= 1.3.14",">= 1.4.0, <= 1.5.12"]}],"fixedVersions":[{"vendor":"QOS.CH Sarl","product":"Logback-core","versions":["1.3.15","1.5.13"]}],"solutions":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-242","name":"Code Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-12-20T20:17:18.406704Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"ch.qos.logback:logback-core","vulnerableRanges":[">=1.4.0, <1.5.13","<1.3.15"],"patched":["1.5.13","1.3.15"],"from":["GHSA-pr98-23f8-jwxv"],"provenance":"source"}],"summary":{"text":"The JaninoEventEvaluator extension in QOS.CH's Logback-core logging library, affecting Java applications, contains an expression language injection flaw that allows arbitrary code execution. An attacker with local access and existing privileges, who can either modify a Logback configuration file, requiring user interaction, or inject a malicious environment variable pointing to a crafted configuration file before the program starts, can execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:04Z"},"euvd":{"id":"EUVD-2024-3605","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-42550","published":"2021-12-16","fixed":"1.2.9","kev":false},{"cve":"CVE-2023-6378","published":"2023-11-29","fixed":"1.4.12","kev":false},{"cve":"CVE-2023-6481","published":"2023-12-04","fixed":"1.4.14","kev":false,"link":{"from":"CVE-2023-6481","to":"CVE-2024-12798","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:ch.qos.logback:logback-core","fromFixed":"1.4.14","toFixed":"1.5.13","daysApart":381}]}},{"cve":"CVE-2024-12798","published":"2024-12-19","fixed":"1.5.13","kev":false},{"cve":"CVE-2024-12801","published":"2024-12-19","fixed":"1.5.13","kev":false},{"cve":"CVE-2025-11226","published":"2025-10-01","fixed":"1.5.19","kev":false},{"cve":"CVE-2026-1225","published":"2026-01-22","fixed":"1.5.25","kev":false}],"package":"Maven:ch.qos.logback:logback-core"}}