CVE-2024-12798 – ch.qos.logback:logback-core
Package
Manager: maven
Name: ch.qos.logback:logback-core
Vulnerable Version: >=1.4.0 <1.5.13 || >=0 <1.3.15
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:U/RC:R
CVSS v4.0: 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
EPSS: 0.00186 pctl0.40577
Details
QOS.CH logback-core Expression Language Injection vulnerability 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.
Metadata
Created: 2024-12-19T18:31:37Z
Modified: 2025-01-03T19:05:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-pr98-23f8-jwxv/GHSA-pr98-23f8-jwxv.json
CWE IDs: ["CWE-917"]
Alternative ID: GHSA-pr98-23f8-jwxv
Finding: F004
Auto approve: 1