CVE-2024-12798
Java vulnerability analysis and mitigation

Overview

An Arbitrary Code Execution (ACE) vulnerability was discovered in the JaninoEventEvaluator component of QOS.CH logback-core versions 0.1 to 1.3.14 and 1.4.0 to 1.5.12. The vulnerability was identified in December 2024 and assigned CVE-2024-12798. The vulnerability affects Java applications using the affected versions of logback-core (Logback News, NVD).

Technical details

The vulnerability exists in the JaninoEventEvaluator extension of logback-core, which could allow arbitrary code execution through compromised configuration files. The vulnerability has been assigned a CVSS v4.0 base score of 5.9 (MEDIUM) with the vector string 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. The vulnerability is classified under CWE-917 (Improper Neutralization of Special Elements used in an Expression Language Statement) (NVD).

Impact

If exploited, this vulnerability allows an attacker to execute arbitrary code on the affected system. However, a successful attack requires the attacker to either have write access to a configuration file or the ability to inject an environment variable before program execution. In both scenarios, the attack requires existing privileges, indicating this vulnerability primarily serves as a privilege escalation vector (NVD).

Mitigation and workarounds

The vulnerability has been addressed in logback versions 1.3.15 and 1.5.13 through the complete removal of the JaninoEventEvaluator component. Users are strongly advised to upgrade to these or later versions. The fix was implemented to prevent an escalation of existing flaws to a higher threat level (Logback News, Red Hat).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management