Vulnerability · Published Dec 19, 2024 · Assigned by NCSC.ch

CVE-2024-12798JaninoEventEvaluator vulnerability

Medium 5.9

In plain English

A medium-severity expression language injection in Logback-core from QOS.CH Sarl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.9Medium
Exploit odds (30 days)0.5%top 60.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12logbackno fix listedDEBIAN-CVE-2024-12798
Debian:13logbackno fix listedDEBIAN-CVE-2024-12798
Debian:14logback1:1.6.3-1DEBIAN-CVE-2024-12798
Mavench.qos.logback:logback-core1.3.15GHSA-pr98-23f8-jwxv
Mavench.qos.logback:logback-core1.5.13GHSA-pr98-23f8-jwxv
Ubuntu:22.04:LTSlogbackno fix listedUBUNTU-CVE-2024-12798
Ubuntu:24.04:LTSlogbackno fix listedUBUNTU-CVE-2024-12798

Affected products (as reported)

VendorProductVersions
QOS.CH Sarl Logback-core 0.1 – through 1.3.141.4.0 – through 1.5.12

Weakness: CWE-917 · Vector: 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

References