GHSA-pr98-23f8-jwxv
QOS.CH logback-core Expression Language Injection vulnerability
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2024-12798
- CVSS_V4
- 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
Description
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Maven · ch.qos.logback:logback-core | introduced 1.4.0, fixed 1.5.13 |
| Maven · ch.qos.logback:logback-core | introduced 0, fixed 1.3.15 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2024-12798 ADVISORY
- https://github.com/qos-ch/logback/commit/2cb6d520df7592ef1c3a198f1b5df3c10c93e183 WEB
- https://github.com/qos-ch/logback PACKAGE
- https://logback.qos.ch/news.html#1.3.15 WEB
- https://logback.qos.ch/news.html#1.5.13 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |