operatorfabric-core icon indicating copy to clipboard operation
operatorfabric-core copied to clipboard

CVE-2024-12798 (Medium) detected in logback-classic-1.5.4.jar, logback-core-1.5.4.jar

Open mend-bolt-for-github[bot] opened this issue 11 months ago • 0 comments

CVE-2024-12798 - Medium Severity Vulnerability

Vulnerable Libraries - logback-classic-1.5.4.jar, logback-core-1.5.4.jar

logback-classic-1.5.4.jar

logback-classic module

Library home page: http://www.qos.ch

Path to dependency file: /src/test/api/karate/karateTests.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.5.4/ddbb8f00855a1a9ef00ea02c4501c2709b2892c3/logback-classic-1.5.4.jar

Dependency Hierarchy:

  • karate-junit5-1.5.1.jar (Root Library)
    • karate-core-1.5.1.jar
      • :x: logback-classic-1.5.4.jar (Vulnerable Library)
logback-core-1.5.4.jar

logback-core module

Library home page: http://www.qos.ch

Path to dependency file: /src/test/api/karate/karateTests.gradle

Path to vulnerable library: /tmp/containerbase/cache/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.5.4/f57995beb884c0f783e49dac5cd4b8f04ee24b4c/logback-core-1.5.4.jar

Dependency Hierarchy:

  • karate-junit5-1.5.1.jar (Root Library)
    • karate-core-1.5.1.jar
      • logback-classic-1.5.4.jar
        • :x: logback-core-1.5.4.jar (Vulnerable Library)

Found in base branch: develop

Vulnerability Details

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.

Publish Date: 2024-12-19

URL: CVE-2024-12798

CVSS 3 Score Details (6.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: High
    • Availability Impact: Low
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-pr98-23f8-jwxv

Release Date: 2024-12-19

Fix Resolution: ch.qos.logback:logback-core:1.3.15,1.5.13;ch.qos.logback:logback-classic:1.3.15,1.5.13


Step up your Open Source Security Game with Mend here