Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-12798 (Medium) detected in logback-classic-1.5.12.jar, logback-core-1.5.12.jar #6577

Open
mend-bolt-for-github bot opened this issue Dec 22, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Dec 22, 2024

CVE-2024-12798 - Medium Severity Vulnerability

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

logback-classic-1.5.12.jar

logback-classic module

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

Path to dependency file: /hapi-fhir-jpaserver-uhnfhirtest/pom.xml

Path to vulnerable library: /hapi-fhir-jpaserver-uhnfhirtest/pom.xml,/hapi-fhir-checkstyle/pom.xml,/hapi-tinder-plugin/pom.xml,/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-apache/pom.xml,/hapi-fhir-test-utilities/pom.xml,/hapi-fhir-base/pom.xml,/hapi-fhir-spring-boot/hapi-fhir-spring-boot-starter/pom.xml,/hapi-fhir-jpaserver-elastic-test-utilities/pom.xml,/hapi-fhir-jpaserver-test-utilities/pom.xml,/hapi-fhir-docs/pom.xml,/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-okhttp/pom.xml,/hapi-fhir-storage-batch2-test-utilities/pom.xml,/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-server-jersey/pom.xml,/hapi-fhir-storage-test-utilities/pom.xml,/hapi-fhir-cli/hapi-fhir-cli-app/pom.xml,/tests/hapi-fhir-base-test-jaxrsserver-kotlin/pom.xml

Dependency Hierarchy:

  • logback-classic-1.5.12.jar (Vulnerable Library)
logback-core-1.5.12.jar

logback-core module

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

Path to dependency file: /hapi-fhir-spring-boot/hapi-fhir-spring-boot-starter/pom.xml

Path to vulnerable library: /hapi-fhir-spring-boot/hapi-fhir-spring-boot-starter/pom.xml,/hapi-fhir-storage-test-utilities/pom.xml,/hapi-fhir-base/pom.xml,/hapi-fhir-jpaserver-test-utilities/pom.xml,/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-okhttp/pom.xml,/hapi-fhir-docs/pom.xml,/hapi-fhir-jpaserver-uhnfhirtest/pom.xml,/hapi-fhir-cli/hapi-fhir-cli-app/pom.xml,/hapi-fhir-jpaserver-elastic-test-utilities/pom.xml,/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-apache/pom.xml,/hapi-tinder-plugin/pom.xml,/hapi-fhir-test-utilities/pom.xml,/hapi-fhir-storage-batch2-test-utilities/pom.xml,/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-server-jersey/pom.xml,/hapi-fhir-checkstyle/pom.xml,/tests/hapi-fhir-base-test-jaxrsserver-kotlin/pom.xml

Dependency Hierarchy:

  • logback-classic-1.5.12.jar (Root Library)
    • logback-core-1.5.12.jar (Vulnerable Library)

Found in base branch: master

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: GHSA-pr98-23f8-jwxv

Release Date: 2024-12-19

Fix Resolution (ch.qos.logback:logback-core): 1.5.13

Direct dependency fix Resolution (ch.qos.logback:logback-classic): 1.5.13


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Dec 22, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2024-12798 (Medium) detected in logback-core-1.5.12.jar CVE-2024-12798 (Medium) detected in logback-classic-1.5.12.jar, logback-core-1.5.12.jar Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants