CVE-2024-12798

NameCVE-2024-12798
DescriptionACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core upto and including version 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
logback (PTS)jessie1:1.1.2-1+deb8u1vulnerable
stretch1:1.1.9-3vulnerable
buster1:1.2.3-5vulnerable
bullseye1:1.2.3-6vulnerable
bookworm1:1.2.11-3vulnerable
sid, trixie1:1.2.11-6vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
logbacksourcejessie(unfixed)end-of-life
logbacksourcestretch(unfixed)end-of-life
logbacksourcebuster(unfixed)end-of-life
logbacksource(unstable)(unfixed)

Notes

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

Search for package or bug name: Reporting problems