CVE-2024-12798

JaninoEventEvaluator vulnerability

MEDIUM 5.9

At a glance

Source
NVD
EPSS
EPSS 0.46 % · percentile 40 ()
State
PUBLISHED
Published
Updated
Assigner
NCSC.ch
NVD status
Deferred

Description

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.

Weaknesses (CWE)

  • CWE-917 — Improper Neutralization of Special Elements used in an Expression Language Statement

References

Scores

VersionScoreVectorScored by
CVSS 4.0MEDIUM 5.9CVSS: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:ClearNCSC.ch
CVSS 4.0MEDIUM 5.9CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:L/U:ClearNVD · vulnerability@ncsc.ch (Secondary)

Advisories

European references

CERT-FR advisories

Affected products

ProductVersions
QOS.CH Sarl · Logback-coreaffected 0.1 ≤ 1.3.14 ; affected 1.4.0 ≤ 1.5.12 ; unaffected 1.3.15 ; unaffected 1.5.13

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD