Expression Language Injection The advisory has been revoked - it doesn't affect any version of package ch.qos.logback/logback-core  (opens in a new tab)


Threat Intelligence

EPSS
0.46% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-CHQOSLOGBACKLOGBACKCORE-8545668
  • published20 Dec 2024
  • disclosed19 Dec 2024

Introduced: 19 Dec 2024

CVE-2024-12798  (opens in a new tab)
CWE-917  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ch.qos.logback/logback-core package and not the ch.qos.logback/logback-core package as distributed by RHEL.

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.