Skip to content

spring-boot-starter-validation-2.6.2.jar: 9 vulnerabilities (highest severity is: 10.0) #66

@dev-mend-for-github-com

Description

@dev-mend-for-github-com
Vulnerable Library - spring-boot-starter-validation-2.6.2.jar

Path to dependency file: /webgoat-server/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-server/pom.xml,/webwolf/pom.xml

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-validation version) Remediation Possible**
CVE-2022-22965 Critical 10.0 spring-beans-5.3.14.jar Transitive 2.6.6
CVE-50240-896950 Critical 9.8 classmate-1.5.1.jar Transitive N/A*
CVE-2022-1471 High 8.3 snakeyaml-1.29.jar Transitive 3.2.0
CVE-2022-25857 High 7.5 snakeyaml-1.29.jar Transitive 3.0.0
CVE-2023-20863 Medium 6.5 spring-expression-5.3.14.jar Transitive 2.6.15
CVE-2023-20861 Medium 6.5 spring-expression-5.3.14.jar Transitive 2.6.15
CVE-2022-22950 Medium 6.5 spring-expression-5.3.14.jar Transitive 2.6.5
CVE-2022-22968 Medium 5.3 spring-context-5.3.14.jar Transitive 2.6.7
CVE-2022-22970 Medium 4.3 detected in multiple dependencies Transitive 2.6.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-2022-22965

Vulnerable Library - spring-beans-5.3.14.jar

Spring Beans

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /webgoat-integration-tests/pom.xml,/webwolf/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • spring-boot-2.6.2.jar
        • spring-context-5.3.14.jar
          • spring-aop-5.3.14.jar
            • spring-beans-5.3.14.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

Vulnerability Details

A Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.
Mend Note: Converted from WS-2022-0107, on 2022-11-07.

Publish Date: 2022-04-01

URL: CVE-2022-22965

CVSS 3 Score Details (10.0)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement

Release Date: 2022-04-01

Fix Resolution (org.springframework:spring-beans): 5.3.18

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 2.6.6

⛑️ Automatic Remediation will be attempted for this issue.

CVE-50240-896950

Vulnerable Library - classmate-1.5.1.jar

Library for introspecting types with full generic information including resolving of field and method types.

Library home page: https://github.com/FasterXML/java-classmate

Path to dependency file: /webgoat-server/pom.xml

Path to vulnerable library: /webgoat-server/pom.xml,/webgoat-integration-tests/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webwolf/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • hibernate-validator-6.2.0.Final.jar
      • classmate-1.5.1.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

Vulnerability Details

Created automatically by the test suite

Publish Date: 2010-06-07

URL: CVE-50240-896950

CVSS 3 Score Details (9.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

CVE-2022-1471

Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /webwolf/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml,/webgoat-integration-tests/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • snakeyaml-1.29.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

Vulnerability Details

SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.

Publish Date: 2022-12-01

URL: CVE-2022-1471

CVSS 3 Score Details (8.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64634374

Release Date: 2022-12-01

Fix Resolution (org.yaml:snakeyaml): 2.0

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 3.2.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-25857

Vulnerable Library - snakeyaml-1.29.jar

YAML 1.1 parser and emitter for Java

Library home page: http://www.snakeyaml.org

Path to dependency file: /webwolf/pom.xml

Path to vulnerable library: /webwolf/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml,/webgoat-integration-tests/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • snakeyaml-1.29.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

Vulnerability Details

The package org.yaml:snakeyaml from 0 and before 1.31 are vulnerable to Denial of Service (DoS) due missing to nested depth limitation for collections.

Publish Date: 2022-08-30

URL: CVE-2022-25857

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

Release Date: 2022-08-30

Fix Resolution (org.yaml:snakeyaml): 1.31

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 3.0.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-20863

Vulnerable Library - spring-expression-5.3.14.jar

Spring Expression Language (SpEL)

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-server/pom.xml,/webwolf/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • spring-boot-2.6.2.jar
        • spring-context-5.3.14.jar
          • spring-expression-5.3.14.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

Vulnerability Details

In spring framework versions prior to 5.2.24 release+ ,5.3.27+ and 6.0.8+ , it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Publish Date: 2023-04-13

URL: CVE-2023-20863

CVSS 3 Score Details (6.5)

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: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2023-20863

Release Date: 2023-04-13

Fix Resolution (org.springframework:spring-expression): 5.3.27

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 2.6.15

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-20861

Vulnerable Library - spring-expression-5.3.14.jar

Spring Expression Language (SpEL)

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-server/pom.xml,/webwolf/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • spring-boot-2.6.2.jar
        • spring-context-5.3.14.jar
          • spring-expression-5.3.14.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

Vulnerability Details

In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Publish Date: 2023-03-23

URL: CVE-2023-20861

CVSS 3 Score Details (6.5)

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: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2023-20861

Release Date: 2023-03-23

Fix Resolution (org.springframework:spring-expression): 5.3.26

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 2.6.15

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-22950

Vulnerable Library - spring-expression-5.3.14.jar

Spring Expression Language (SpEL)

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-integration-tests/pom.xml,/webgoat-server/pom.xml,/webwolf/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • spring-boot-2.6.2.jar
        • spring-context-5.3.14.jar
          • spring-expression-5.3.14.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

Vulnerability Details

n Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.

Publish Date: 2022-04-01

URL: CVE-2022-22950

CVSS 3 Score Details (6.5)

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

Release Date: 2022-04-01

Fix Resolution (org.springframework:spring-expression): 5.3.17

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 2.6.5

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-22968

Vulnerable Library - spring-context-5.3.14.jar

Spring Context

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml,/webgoat-integration-tests/pom.xml,/webwolf/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • spring-boot-2.6.2.jar
        • spring-context-5.3.14.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.18, 5.2.0 - 5.2.20, and older unsupported versions, the patterns for disallowedFields on a DataBinder are case sensitive which means a field is not effectively protected unless it is listed with both upper and lower case for the first character of the field, including upper and lower case for the first character of all nested fields within the property path.

Publish Date: 2022-04-14

URL: CVE-2022-22968

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: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22968

Release Date: 2022-04-14

Fix Resolution (org.springframework:spring-context): 5.3.19

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 2.6.7

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-22970

Vulnerable Libraries - spring-beans-5.3.14.jar, spring-core-5.3.14.jar

spring-beans-5.3.14.jar

Spring Beans

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /webgoat-integration-tests/pom.xml

Path to vulnerable library: /webgoat-integration-tests/pom.xml,/webwolf/pom.xml,/docker/pom.xml,/webgoat-container/pom.xml,/webgoat-server/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • spring-boot-2.6.2.jar
        • spring-context-5.3.14.jar
          • spring-aop-5.3.14.jar
            • spring-beans-5.3.14.jar (Vulnerable Library)

spring-core-5.3.14.jar

Spring Core

Path to dependency file: /docker/pom.xml

Path to vulnerable library: /docker/pom.xml,/webgoat-integration-tests/pom.xml,/webwolf/pom.xml,/webgoat-server/pom.xml,/webgoat-container/pom.xml

Dependency Hierarchy:

  • spring-boot-starter-validation-2.6.2.jar (Root Library)
    • spring-boot-starter-2.6.2.jar
      • spring-boot-2.6.2.jar
        • spring-core-5.3.14.jar (Vulnerable Library)

Found in HEAD commit: 9e8e5f8649146f5b0c6c83e07126b5557afc73bb

Found in base branch: develop

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

CVSS 3 Score Details (4.3)

Base Score Metrics:

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

Release Date: 2022-05-12

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 2.6.8

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-validation): 2.6.8

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions