Code Injection in Logback - CVE-2024-12798

 

Code Injection in Logback - CVE-2024-12798

Published: January 24, 2025


Vulnerability identifier: #VU103289
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-12798
CWE-ID: CWE-94
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: QOS.ch
Affected software:
Logback

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper input validation in JaninoEventEvaluator extension when handling environment variables. A local user can inject specially crafted data into environment variables and execute arbitrary code with elevated privileges.


How to mitigate CVE-2024-12798

Install updates from vendor's website.

Sources