cve.bz

CVE-2024-12798

5.9 mediumEPSS 0.5%

Medium (5.9). EPSS 0.5% chance of exploitation in the next 30 days. Fixed in ch.qos.logback:logback-core 1.3.15, 1.5.13.

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.

Severity

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
EPSS
0.5% chance of exploitation in the next 30 days; higher than 39% of CVEs (scores of 2026-10-31)
CWE
CWE-917
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pr98-23f8-jwxvMavench.qos.logback:logback-core>=1.4.0 <1.5.131.5.13
GHSA-pr98-23f8-jwxvMavench.qos.logback:logback-core<1.3.151.3.15

References

Check your stackJSON