ghsa-pr98-23f8-jwxv
Vulnerability from github
Published
2024-12-19 18:31
Modified
2025-01-03 19:05
Severity ?
Summary
QOS.CH logback-core Expression Language Injection vulnerability
Details
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.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "ch.qos.logback:logback-core" }, "ranges": [ { "events": [ { "introduced": "1.4.0" }, { "fixed": "1.5.13" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "ch.qos.logback:logback-core" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.3.15" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-12798" ], "database_specific": { "cwe_ids": [ "CWE-917" ], "github_reviewed": true, "github_reviewed_at": "2024-12-19T22:22:09Z", "nvd_published_at": "2024-12-19T16:15:07Z", "severity": "MODERATE" }, "details": "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.\n\nMalicious logback configuration files can allow the attacker to execute arbitrary code using the JaninoEventEvaluator extension.\n\nA 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.", "id": "GHSA-pr98-23f8-jwxv", "modified": "2025-01-03T19:05:25Z", "published": "2024-12-19T18:31:37Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-12798" }, { "type": "WEB", "url": "https://github.com/qos-ch/logback/commit/2cb6d520df7592ef1c3a198f1b5df3c10c93e183" }, { "type": "PACKAGE", "url": "https://github.com/qos-ch/logback" }, { "type": "WEB", "url": "https://logback.qos.ch/news.html#1.3.15" }, { "type": "WEB", "url": "https://logback.qos.ch/news.html#1.5.13" } ], "schema_version": "1.4.0", "severity": [ { "score": "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", "type": "CVSS_V4" } ], "summary": "QOS.CH logback-core Expression Language Injection vulnerability" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.