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

ktlint-0.44.0.jar: 2 vulnerabilities (highest severity is: 7.5) - autoclosed #826

Closed
mend-for-github.aaakk.us.kg bot opened this issue Dec 9, 2023 · 1 comment
Assignees
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend untriaged

Comments

@mend-for-github.aaakk.us.kg
Copy link
Contributor

Vulnerable Library - ktlint-0.44.0.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.9/7d495522b08a9a66084bf417e70eedf95ef706bc/logback-classic-1.2.9.jar

Found in HEAD commit: 9683d864db863ded38ab4bdf49670325f9df7cf7

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (ktlint version) Remediation Possible**
CVE-2023-6481 High 7.5 logback-core-1.2.9.jar Transitive 0.47.1
CVE-2023-6378 High 7.5 logback-classic-1.2.9.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.2.9.jar

logback-core module

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

Path to dependency file: /build.gradle

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

Dependency Hierarchy:

  • ktlint-0.44.0.jar (Root Library)
    • ktlint-core-0.44.0.jar
      • logback-classic-1.2.9.jar
        • logback-core-1.2.9.jar (Vulnerable Library)

Found in HEAD commit: 9683d864db863ded38ab4bdf49670325f9df7cf7

Found in base branch: main

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.3.0-alpha0

Direct dependency fix Resolution (com.pinterest:ktlint): 0.47.1

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-6378

Vulnerable Library - logback-classic-1.2.9.jar

logback-classic module

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

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.9/7d495522b08a9a66084bf417e70eedf95ef706bc/logback-classic-1.2.9.jar

Dependency Hierarchy:

  • ktlint-0.44.0.jar (Root Library)
    • ktlint-core-0.44.0.jar
      • logback-classic-1.2.9.jar (Vulnerable Library)

Found in HEAD commit: 9683d864db863ded38ab4bdf49670325f9df7cf7

Found in base branch: main

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


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Dec 9, 2023
@zhichao-aws zhichao-aws self-assigned this Dec 13, 2023
@zhichao-aws zhichao-aws mentioned this issue Dec 18, 2023
1 task
@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot changed the title ktlint-0.44.0.jar: 2 vulnerabilities (highest severity is: 7.5) ktlint-0.44.0.jar: 2 vulnerabilities (highest severity is: 7.5) - autoclosed Feb 5, 2024
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

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 Mend untriaged
Projects
None yet
Development

No branches or pull requests

1 participant