CVE-2024-12798

Medium

Description

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductCh.qos.logback:logback-core
PublishedDec 19, 2024
First seenDec 19, 2024

How to fix

Update
  • ch.qos.logback:logback-core1.5.13, 1.3.15 or later

Affected products

ProductAffected versionsFixed in
ch.qos.logback:logback-coreMaven1.4.0 ≤ v < 1.5.13, v < 1.3.151.5.13, 1.3.15

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.