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

spring-boot-starter-test-2.4.5.jar: 8 vulnerabilities (highest severity is: 7.5) #10

Open
mend-for-github-com bot opened this issue Jun 2, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jun 2, 2022

Vulnerable Library - spring-boot-starter-test-2.4.5.jar

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.3/7396407491352ce4fa30de92efb158adb76b5b/json-smart-2.3.jar

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (spring-boot-starter-test version) Remediation Possible** Reachability
CVE-2023-20883 High 7.5 Not Defined 0.1% spring-boot-autoconfigure-2.4.5.jar Transitive 2.5.15
CVE-2023-1370 High 7.5 Not Defined 0.1% json-smart-2.3.jar Transitive 3.1.0
CVE-2021-27568 Medium 5.9 Not Defined 1.0% json-smart-2.3.jar Transitive 2.6.0
CVE-2024-31573 Medium 5.6 Not Defined xmlunit-core-2.7.0.jar Transitive N/A*
CVE-2023-51074 Medium 5.3 Not Defined 0.0% json-path-2.4.0.jar Transitive 3.1.9
CVE-2022-22970 Medium 5.3 Not Defined 0.4% spring-core-5.3.6.jar Transitive 2.5.14
CVE-2021-22096 Medium 4.3 Not Defined 0.1% spring-core-5.3.6.jar Transitive 2.4.12
CVE-2021-22060 Medium 4.3 Not Defined 0.1% spring-core-5.3.6.jar Transitive 2.5.8

*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-20883

Vulnerable Library - spring-boot-autoconfigure-2.4.5.jar

Spring Boot AutoConfigure

Library home page: https://spring.io

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/2.4.5/32887531b5a125d4840a08f9610aec766de73606/spring-boot-autoconfigure-2.4.5.jar

Dependency Hierarchy:

  • spring-boot-starter-test-2.4.5.jar (Root Library)
    • spring-boot-test-autoconfigure-2.4.5.jar
      • spring-boot-autoconfigure-2.4.5.jar (Vulnerable Library)

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Found in base branch: main

Vulnerability Details

In Spring Boot versions 3.0.0 - 3.0.6, 2.7.0 - 2.7.11, 2.6.0 - 2.6.14, 2.5.0 - 2.5.14 and older unsupported versions, there is potential for a denial-of-service (DoS) attack if Spring MVC is used together with a reverse proxy cache.

Publish Date: 2023-05-26

URL: CVE-2023-20883

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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://spring.io/security/cve-2023-20883

Release Date: 2023-05-26

Fix Resolution (org.springframework.boot:spring-boot-autoconfigure): 2.5.15

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-test): 2.5.15

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-1370

Vulnerable Library - json-smart-2.3.jar

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

Library home page: http://www.minidev.net/

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.3/7396407491352ce4fa30de92efb158adb76b5b/json-smart-2.3.jar

Dependency Hierarchy:

  • spring-boot-starter-test-2.4.5.jar (Root Library)
    • json-path-2.4.0.jar
      • json-smart-2.3.jar (Vulnerable Library)

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Found in base branch: main

Vulnerability Details

Json-smart is a performance focused, JSON processor lib.

When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively.

It was discovered that the code does not have any limit to the nesting of such arrays or objects. Since the parsing of nested arrays and objects is done recursively, nesting too many of them can cause a stack exhaustion (stack overflow) and crash the software.

Publish Date: 2023-03-13

URL: CVE-2023-1370

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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://research.jfrog.com/vulnerabilities/stack-exhaustion-in-json-smart-leads-to-denial-of-service-when-parsing-malformed-json-xray-427633/

Release Date: 2023-03-13

Fix Resolution (net.minidev:json-smart): 2.4.9

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-test): 3.1.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2021-27568

Vulnerable Library - json-smart-2.3.jar

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

Library home page: http://www.minidev.net/

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.3/7396407491352ce4fa30de92efb158adb76b5b/json-smart-2.3.jar

Dependency Hierarchy:

  • spring-boot-starter-test-2.4.5.jar (Root Library)
    • json-path-2.4.0.jar
      • json-smart-2.3.jar (Vulnerable Library)

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Found in base branch: main

Vulnerability Details

An issue was discovered in netplex json-smart-v1 through 2015-10-23 and json-smart-v2 through 2.4. An exception is thrown from a function, but it is not caught, as demonstrated by NumberFormatException. When it is not caught, it may cause programs using the library to crash or expose sensitive information.

Publish Date: 2021-02-23

URL: CVE-2021-27568

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 1.0%

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • 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

Release Date: 2021-02-23

Fix Resolution (net.minidev:json-smart): 2.3.1

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-test): 2.6.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-31573

Vulnerable Library - xmlunit-core-2.7.0.jar

XMLUnit for Java

Library home page: https://www.xmlunit.org/

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.xmlunit/xmlunit-core/2.7.0/4d014eac96329c70175116b185749765cee0aad5/xmlunit-core-2.7.0.jar

Dependency Hierarchy:

  • spring-boot-starter-test-2.4.5.jar (Root Library)
    • xmlunit-core-2.7.0.jar (Vulnerable Library)

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Found in base branch: main

Vulnerability Details

When performing XSLT transformations XMLUnit for Java before 2.10.0 did not disable XSLT extension functions by default. Depending on the XSLT processor being used this could allow arbitrary code to be executed when XMLUnit is used to transform data with a stylesheet who's source can not be trusted. If the stylesheet can be provided externally this may even lead to a remote code execution.

Publish Date: 2024-11-03

URL: CVE-2024-31573

Threat Assessment

Exploit Maturity: Not Defined

EPSS:

CVSS 3 Score Details (5.6)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-chfm-68vv-pvw5

Release Date: 2024-04-05

Fix Resolution: org.xmlunit:xmlunit-core:2.10.0

CVE-2023-51074

Vulnerable Library - json-path-2.4.0.jar

Java port of Stefan Goessner JsonPath.

Library home page: https://github.com/jayway/JsonPath

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path/2.4.0/765a4401ceb2dc8d40553c2075eb80a8fa35c2ae/json-path-2.4.0.jar

Dependency Hierarchy:

  • spring-boot-starter-test-2.4.5.jar (Root Library)
    • json-path-2.4.0.jar (Vulnerable Library)

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Found in base branch: main

Vulnerability Details

json-path v2.8.0 was discovered to contain a stack overflow via the Criteria.parse() method.

Publish Date: 2023-12-27

URL: CVE-2023-51074

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2023-12-27

Fix Resolution (com.jayway.jsonpath:json-path): 2.9.0

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-test): 3.1.9

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-22970

Vulnerable Library - spring-core-5.3.6.jar

Spring Core

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.6/8f91f60f628075701fde72bb5a43a33feeb27e93/spring-core-5.3.6.jar

Dependency Hierarchy:

  • spring-boot-starter-test-2.4.5.jar (Root Library)
    • spring-core-5.3.6.jar (Vulnerable Library)

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Found in base branch: main

Vulnerability Details

In spring framework versions prior to 5.3.20+ , 5.2.22+ and old unsupported versions, applications that handle file uploads are vulnerable to DoS attack if they rely on data binding to set a MultipartFile or javax.servlet.Part to a field in a model object.

Publish Date: 2022-05-12

URL: CVE-2022-22970

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.4%

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • 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://tanzu.vmware.com/security/cve-2022-22970

Release Date: 2022-05-12

Fix Resolution (org.springframework:spring-core): 5.3.20

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-test): 2.5.14

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2021-22096

Vulnerable Library - spring-core-5.3.6.jar

Spring Core

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.6/8f91f60f628075701fde72bb5a43a33feeb27e93/spring-core-5.3.6.jar

Dependency Hierarchy:

  • spring-boot-starter-test-2.4.5.jar (Root Library)
    • spring-core-5.3.6.jar (Vulnerable Library)

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Found in base branch: main

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.

Publish Date: 2021-10-28

URL: CVE-2021-22096

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (4.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2021-22096

Release Date: 2021-10-28

Fix Resolution (org.springframework:spring-core): 5.3.12

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-test): 2.4.12

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2021-22060

Vulnerable Library - spring-core-5.3.6.jar

Spring Core

Library home page: https://spring.io/projects/spring-framework

Path to dependency file: /build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.6/8f91f60f628075701fde72bb5a43a33feeb27e93/spring-core-5.3.6.jar

Dependency Hierarchy:

  • spring-boot-starter-test-2.4.5.jar (Root Library)
    • spring-core-5.3.6.jar (Vulnerable Library)

Found in HEAD commit: a92182417b8891991a38a1a015d30ddbd8fba1c7

Found in base branch: main

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries. This is a follow-up to CVE-2021-22096 that protects against additional types of input and in more places of the Spring Framework codebase.

Publish Date: 2022-01-07

URL: CVE-2021-22060

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (4.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2021-22060

Release Date: 2022-01-07

Fix Resolution (org.springframework:spring-core): 5.3.14

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-test): 2.5.8

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jun 2, 2022
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-test-2.4.5.jar: 1 vulnerabilities (highest severity is: 9.1) spring-boot-starter-test-2.4.5.jar: 4 vulnerabilities (highest severity is: 9.1) Jun 28, 2022
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-test-2.4.5.jar: 4 vulnerabilities (highest severity is: 9.1) spring-boot-starter-test-2.4.5.jar: 4 vulnerabilities (highest severity is: 5.9) Mar 19, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-test-2.4.5.jar: 4 vulnerabilities (highest severity is: 5.9) spring-boot-starter-test-2.4.5.jar: 5 vulnerabilities (highest severity is: 7.5) Mar 24, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-test-2.4.5.jar: 5 vulnerabilities (highest severity is: 7.5) spring-boot-starter-test-2.4.5.jar: 8 vulnerabilities (highest severity is: 7.5) May 3, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-test-2.4.5.jar: 8 vulnerabilities (highest severity is: 7.5) spring-boot-starter-test-2.4.5.jar: 9 vulnerabilities (highest severity is: 7.5) May 12, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-test-2.4.5.jar: 9 vulnerabilities (highest severity is: 7.5) spring-boot-starter-test-2.4.5.jar: 8 vulnerabilities (highest severity is: 7.5) Nov 11, 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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants