~ / search / GHSA-pr98-23f8-jwxv

GHSA-pr98-23f8-jwxv

QOS.CH logback-core Expression Language Injection vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-12798

Packages

EcosystemPackageAffectedFixed in
Maven ch.qos.logback:logback-core >= 1.4.0, < 1.5.13 1.5.13
Maven ch.qos.logback:logback-core < 1.3.15 1.3.15

Details

As written in the advisory (Markdown source, shown as plain text).

ACE vulnerability in JaninoEventEvaluator by QOS.CH logback-core up to and including version 1.5.12 in Java applications allows attackers 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.

References

External links from the advisory. They lead to third-party sites.