cve.bz

CVE-2024-12798 qos.ch sarl logback-core: Expression Language Injection

5.9 mediumEPSS 0.5%Fix available

Medium (5.9) in qos.ch sarl logback-core. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in ch.qos.logback:logback-core 1.3.15, 1.5.13.

On this page
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.

Severity

CVSS 4.0

5.9 medium
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.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-12-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-12798 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-12798?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-12798?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-12798 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
QOS.CH Sarl Logback-corefrom 0.1 through 1.3.14
QOS.CH Sarl Logback-corefrom 1.4.0 through 1.5.12

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pr98-23f8-jwxvMavench.qos.logback:logback-core>=1.4.0 <1.5.131.5.13
GHSA-pr98-23f8-jwxvMavench.qos.logback:logback-core<1.3.151.3.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13logbackno fix listedDEBIAN-CVE-2024-12798
Debian14logback1:1.6.3-1DEBIAN-CVE-2024-12798
Ubuntu22.04:LTS, 24.04:LTS, Pro:16.04:LTS and 2 morelogbackno fix listedUBUNTU-CVE-2024-12798
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 moreslf4j2.0.20-150200.3.7.1SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreapache-commons-cli1.9.0-150200.3.11.1SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreaqute-bnd6.4.1-150200.3.16.1SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreglassfish-annotation-api1.3.2-150200.3.6.1SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moregoogle-gson2.14.0-150200.3.13.2SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morehttpcomponents-client4.5.14-150200.3.14.2SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morehttpcomponents-core4.4.14-150200.3.11.1SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morejline33.30.17-150200.5.11.1SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moremaven3.10.0-150200.4.36.1SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moremaven-resolver2.0.24-150200.3.32.3SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moremaven-wagon3.5.3-150200.3.10.1SUSE-SU-2026:5189-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moremethanol1.9.0-150200.5.3.1SUSE-SU-2026:5189-1
5 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6logback1.2.11-150200.3.10.1SUSE-SU-2025:0072-1
openSUSETumbleweedlogback1.2.11-4.1openSUSE-SU-2025:14627-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: In Red Hat products that include logback-core, a privileged local attacker who can modify a Logback configuration file, or inject an environment variable that points to a malicious configuration before application startup, can use the JaninoEventEvaluator extension to execute arbitrary code. The current affected-product records span Red Hat AMQ, Red Hat JBoss Fuse, JBoss Data Grid, Red Hat JBoss Web Server, OpenShift Container Platform, Red Hat build of OptaPlanner, Red Hat build of Apache Camel, Red Hat Integration, Red Hat Process Automation Manager, Red Hat Single Sign-On, and cloud.redhat.com, with product streams recorded as delegated or deferred. Where a delegated record is marked AFFECTED, a fix is being pursued; deferred records remain exposed to an attacker who obtains the required configuration write access or environment-variable injection capability. Some records carry delegated NOTAFFECTED or WONTFIX outcomes, but the current flaw data provides no product-specific justification for those distinctions. Red Hat's CVSS 3.1 score is 5.5 (Moderate), while the upstream CVSS 4.0 score is 5.9 (Moderate); the recorded vectors differ, and the current alert reports a 7.0 score when the upstream metrics are converted to CVSS 3.1.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.8.3 for Spring Bootlogback-coreFixed 2025-02-05RHSA-2025:1078
A-MQ Clients 2logback-coreAffected
Logging Subsystem for Red Hat OpenShiftch.qos.logback/logback-coreAffected
Red Hat AMQ Broker 7logback-coreAffected
Red Hat AMQ Clientslogback-coreFix deferred
Red Hat build of Apache Camel - HawtIO 4logback-coreFix deferred
Red Hat build of Debezium 2logback-coreWill not fix
Red Hat Build of Keycloaklogback-coreNot affected
Red Hat build of OptaPlanner 8logback-coreFix deferred
Red Hat Data Grid 8logback-coreWill not fix
Red Hat Fuse 7logback-coreOut of support scope
Red Hat Integration Camel K 1logback-coreAffected
Red Hat JBoss Data Grid 7logback-coreAffected
Red Hat JBoss Enterprise Application Platform 7logback-coreNot affected
Red Hat JBoss Enterprise Application Platform 8logback-coreNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packlogback-coreNot affected
Red Hat JBoss Web Server 6logback-coreNot affected
Red Hat Process Automation 7logback-coreFix deferred
Red Hat Single Sign-On 7logback-coreWill not fix
streams for Apache Kafkalogback-coreAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-12798.

References

Check your stackJSON