temporalio / temporalio/sdk-java

ktlint-0.47.1.jar: 2 vulnerabilities (highest severity is: 7.5)

Open
#1,952 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Mend: dependency security vulnerability
Dominant language
Java
Stars
433
Forks
249
Avg merge
5d 6h
Merged PRs (30d)
26

Description

Vulnerable Library - ktlint-0.47.1.jar

Path to dependency file: /temporal-kotlin/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.3.0/525b10f014422eb84e157e400960ca921949aa2a/logback-classic-1.3.0.jar

Found in HEAD commit: f389bd8e9cd8956213466e705d5e2a36978aea65

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (ktlint version) Remediation Possible**
CVE-2023-6481 High 7.5 logback-core-1.3.0.jar Transitive N/A*
CVE-2023-6378 High 7.5 logback-classic-1.3.0.jar Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-6481
Vulnerable Library - logback-core-1.3.0.jar

logback-core module

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

Path to dependency file: /temporal-kotlin/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.3.0/9718166ba4834f1e9585ba9212c93c04baec511d/logback-core-1.3.0.jar

Dependency Hierarchy:

  • ktlint-0.47.1.jar (Root Library)
    • logback-classic-1.3.0.jar
      • logback-core-1.3.0.jar (Vulnerable Library)

Found in HEAD commit: f389bd8e9cd8956213466e705d5e2a36978aea65

Found in base branch: master

Vulnerability Details

A serialization vulnerability in logback receiver component part of
logback version 1.4.13, 1.3.13 and 1.2.12 allows an attacker to mount a Denial-Of-Service
attack by sending poisoned data.

Publish Date: 2023-12-04

URL: CVE-2023-6481

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-6481

Release Date: 2023-12-04

Fix Resolution: ch.qos.logback:logback-core:1.2.13,1.3.14,1.4.14

CVE-2023-6378
Vulnerable Library - logback-classic-1.3.0.jar

logback-classic module

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

Path to dependency file: /temporal-kotlin/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.3.0/525b10f014422eb84e157e400960ca921949aa2a/logback-classic-1.3.0.jar

Dependency Hierarchy:

  • ktlint-0.47.1.jar (Root Library)
    • logback-classic-1.3.0.jar (Vulnerable Library)

Found in HEAD commit: f389bd8e9cd8956213466e705d5e2a36978aea65

Found in base branch: master

Vulnerability Details

A serialization vulnerability in logback receiver component part of
logback version 1.4.11 allows an attacker to mount a Denial-Of-Service
attack by sending poisoned data.

Publish Date: 2023-11-29

URL: CVE-2023-6378

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://logback.qos.ch/news.html#1.3.12

Release Date: 2023-11-29

Fix Resolution: ch.qos.logback:logback-classic:1.3.12,1.4.12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with temporal-kotlin/build.gradle and trace the ktlint-0.47.1 dependency to logback-classic and logback-core. Check whether compatible fixed logback versions or a newer ktlint version can be used, then run the dependency vulnerability scan. Done means the reported CVE-2023-6481 and CVE-2023-6378 findings no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.