{"id":"UBUNTU-CVE-2024-12798","details":"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.","modified":"2026-01-20T18:11:48.181187Z","published":"2024-12-19T16:15:00Z","upstream":["CVE-2024-12798"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-12798"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-12798"},{"type":"REPORT","url":"https://logback.qos.ch/news.html#1.5.13"}],"affected":[{"package":{"name":"logback","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/logback@1:1.1.3-2ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.1.3-2","1:1.1.3-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblogback-java","binary_version":"1:1.1.3-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12798.json"}},{"package":{"name":"logback","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/logback@1:1.2.3-2ubuntu1~18.04.1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.1.9-4","1:1.1.9-5","1:1.2.3-2","1:1.2.3-2ubuntu1~18.04.1","1:1.2.3-2ubuntu1~18.04.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblogback-java","binary_version":"1:1.2.3-2ubuntu1~18.04.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12798.json"}},{"package":{"name":"logback","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/logback@1:1.2.3-5ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.2.3-5","1:1.2.3-5ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblogback-java","binary_version":"1:1.2.3-5ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12798.json"}},{"package":{"name":"logback","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/logback@1:1.2.10-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.2.3-6","1:1.2.7-1","1:1.2.8-1","1:1.2.9-1","1:1.2.10-1"],"ecosystem_specific":{"binaries":[{"binary_name":"liblogback-java","binary_version":"1:1.2.10-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12798.json"}},{"package":{"name":"logback","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/logback@1:1.2.11-5?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.2.11-3","1:1.2.11-4","1:1.2.11-5"],"ecosystem_specific":{"binaries":[{"binary_name":"liblogback-java","binary_version":"1:1.2.11-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-12798.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}