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-validation-2.7.1.jar: 15 vulnerabilities (highest severity is: 8.3) reachable #18

Open
mend-for-github-com bot opened this issue Apr 17, 2023 · 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 Apr 17, 2023

Vulnerable Library - spring-boot-starter-validation-2.7.1.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-classic/1.2.11/logback-classic-1.2.11.jar

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-validation version) Remediation Possible** Reachability
CVE-2022-1471 High 8.3 snakeyaml-1.30.jar Transitive 3.2.0

Reachable

CVE-2023-20883 High 7.5 spring-boot-autoconfigure-2.7.1.jar Transitive 2.7.12

Reachable

CVE-2022-25857 High 7.5 snakeyaml-1.30.jar Transitive 3.0.0

Reachable

CVE-2023-6378 High 7.1 logback-classic-1.2.11.jar Transitive 3.0.0

Reachable

CVE-2024-12798 Medium 6.6 detected in multiple dependencies Transitive 3.0.0

Reachable

CVE-2023-20863 Medium 6.5 spring-expression-5.3.21.jar Transitive 2.7.12

Reachable

CVE-2023-20861 Medium 6.5 spring-expression-5.3.21.jar Transitive 2.7.10

Reachable

CVE-2022-38752 Medium 6.5 snakeyaml-1.30.jar Transitive 3.0.0

Reachable

CVE-2022-38751 Medium 6.5 snakeyaml-1.30.jar Transitive 3.0.0

Reachable

CVE-2022-38750 Medium 6.5 snakeyaml-1.30.jar Transitive 3.0.0

Reachable

CVE-2022-38749 Medium 6.5 snakeyaml-1.30.jar Transitive 3.0.0

Reachable

CVE-2022-41854 Medium 5.8 snakeyaml-1.30.jar Transitive 3.0.0

Reachable

CVE-2024-12801 Medium 4.4 logback-core-1.2.11.jar Transitive 3.0.0

Reachable

CVE-2024-38808 Medium 4.3 spring-expression-5.3.21.jar Transitive 3.0.0

Reachable

CVE-2024-38820 Low 3.1 spring-context-5.3.21.jar Transitive 3.2.11

Reachable

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

Details

CVE-2022-1471

Vulnerable Library - snakeyaml-1.30.jar

YAML 1.1 parser and emitter for Java

Library home page: https://bitbucket.org/snakeyaml/snakeyaml

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • snakeyaml-1.30.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser$AuthenticationManagerDelegator (Extension)
   -> org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser (Extension)
    -> org.springframework.beans.factory.config.ListFactoryBean (Extension)
    ...
      -> org.springframework.beans.factory.config.YamlPropertiesFactoryBean (Extension)
       -> org.yaml.snakeyaml.Yaml (Extension)
        -> ❌ org.yaml.snakeyaml.constructor.CustomClassLoaderConstructor (Vulnerable Component)

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

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

Spring Boot AutoConfigure

Library home page: https://spring.io

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.7.1/spring-boot-autoconfigure-2.7.1.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-autoconfigure-2.7.1.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$1 (Extension)
   -> org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$OptionalPathExtensionContentNegotiationStrategy (Extension)
    -> org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration (Extension)
     -> ❌ org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration (Vulnerable Component)

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

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.7.12

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-25857

Vulnerable Library - snakeyaml-1.30.jar

YAML 1.1 parser and emitter for Java

Library home page: https://bitbucket.org/snakeyaml/snakeyaml

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • snakeyaml-1.30.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$1 (Extension)
   -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension)
    -> org.springframework.boot.actuate.autoconfigure.cloudfoundry.Token (Extension)
    ...
      -> org.springframework.boot.json.YamlJsonParser (Extension)
       -> org.yaml.snakeyaml.constructor.BaseConstructor (Extension)
        -> ❌ org.yaml.snakeyaml.LoaderOptions (Vulnerable Component)

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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25857

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-6378

Vulnerable Library - logback-classic-1.2.11.jar

logback-classic module

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-classic/1.2.11/logback-classic-1.2.11.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-starter-logging-2.7.1.jar
        • logback-classic-1.2.11.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.lessons.logging.LogBleedingTask (Application)
  -> org.slf4j.LoggerFactory (Extension)
   -> org.slf4j.impl.StaticLoggerBinder (Extension)
    -> ch.qos.logback.classic.joran.JoranConfigurator (Extension)
    ...
      -> ch.qos.logback.classic.net.SocketAppender (Extension)
       -> ch.qos.logback.classic.net.LoggingEventPreSerializationTransformer (Extension)
        -> ❌ ch.qos.logback.classic.spi.LoggingEventVO (Vulnerable Component)

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.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • 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.2.13

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-12798

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

logback-core-1.2.11.jar

logback-core module

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-core/1.2.11/logback-core-1.2.11.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-starter-logging-2.7.1.jar
        • logback-classic-1.2.11.jar
          • logback-core-1.2.11.jar (Vulnerable Library)

logback-classic-1.2.11.jar

logback-classic module

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-classic/1.2.11/logback-classic-1.2.11.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-starter-logging-2.7.1.jar
        • logback-classic-1.2.11.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.lessons.logging.LogBleedingTask (Application)
  -> org.slf4j.LoggerFactory (Extension)
   -> org.slf4j.impl.StaticLoggerBinder (Extension)
    -> ch.qos.logback.core.ContextBase (Extension)
    ...
      -> ch.qos.logback.core.rolling.helper.FileNamePattern (Extension)
       -> ch.qos.logback.core.rolling.helper.IntegerTokenConverter (Extension)
        -> ❌ ch.qos.logback.core.net.ssl.SSLParametersConfiguration (Vulnerable Component)

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.3.15

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

Fix Resolution (ch.qos.logback:logback-classic): 1.3.15

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.21.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.21/spring-expression-5.3.21.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-2.7.1.jar
        • spring-context-5.3.21.jar
          • spring-expression-5.3.21.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer (Extension)
   -> org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler (Extension)
    -> org.springframework.security.access.expression.AbstractSecurityExpressionHandler (Extension)
     -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension)
      -> ❌ org.springframework.expression.spel.standard.InternalSpelExpressionParser (Vulnerable Component)

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.7.12

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-20861

Vulnerable Library - spring-expression-5.3.21.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.21/spring-expression-5.3.21.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-2.7.1.jar
        • spring-context-5.3.21.jar
          • spring-expression-5.3.21.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter (Extension)
   -> org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration (Extension)
    -> org.springframework.context.event.ApplicationListenerMethodAdapter (Extension)
    ...
      -> org.springframework.expression.spel.standard.SpelExpressionParser (Extension)
       -> org.springframework.expression.spel.standard.InternalSpelExpressionParser (Extension)
        -> ❌ org.springframework.expression.spel.ast.OperatorMatches (Vulnerable Component)

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.7.10

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-38752

Vulnerable Library - snakeyaml-1.30.jar

YAML 1.1 parser and emitter for Java

Library home page: https://bitbucket.org/snakeyaml/snakeyaml

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • snakeyaml-1.30.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$1 (Extension)
   -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension)
    -> org.springframework.boot.actuate.autoconfigure.cloudfoundry.Token (Extension)
    ...
      -> org.springframework.boot.json.YamlJsonParser (Extension)
       -> org.yaml.snakeyaml.constructor.BaseConstructor (Extension)
        -> ❌ org.yaml.snakeyaml.LoaderOptions (Vulnerable Component)

Vulnerability Details

Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stack-overflow.

Publish Date: 2022-09-05

URL: CVE-2022-38752

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: GHSA-9w3m-gqgf-c4p9

Release Date: 2022-09-05

Fix Resolution (org.yaml:snakeyaml): 1.32

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-38751

Vulnerable Library - snakeyaml-1.30.jar

YAML 1.1 parser and emitter for Java

Library home page: https://bitbucket.org/snakeyaml/snakeyaml

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • snakeyaml-1.30.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$1 (Extension)
   -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension)
    -> org.springframework.boot.actuate.autoconfigure.cloudfoundry.Token (Extension)
    ...
      -> org.springframework.boot.json.YamlJsonParser (Extension)
       -> org.yaml.snakeyaml.constructor.BaseConstructor (Extension)
        -> ❌ org.yaml.snakeyaml.LoaderOptions (Vulnerable Component)

Vulnerability Details

Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.

Publish Date: 2022-09-05

URL: CVE-2022-38751

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://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47039

Release Date: 2022-09-05

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-2022-38750

Vulnerable Library - snakeyaml-1.30.jar

YAML 1.1 parser and emitter for Java

Library home page: https://bitbucket.org/snakeyaml/snakeyaml

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • snakeyaml-1.30.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$1 (Extension)
   -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration (Extension)
    -> org.springframework.boot.actuate.autoconfigure.cloudfoundry.Token (Extension)
    ...
      -> org.springframework.boot.json.YamlJsonParser (Extension)
       -> org.yaml.snakeyaml.constructor.BaseConstructor (Extension)
        -> ❌ org.yaml.snakeyaml.LoaderOptions (Vulnerable Component)

Vulnerability Details

Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.

Publish Date: 2022-09-05

URL: CVE-2022-38750

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://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47027

Release Date: 2022-09-05

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-2022-38749

Vulnerable Library - snakeyaml-1.30.jar

YAML 1.1 parser and emitter for Java

Library home page: https://bitbucket.org/snakeyaml/snakeyaml

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • snakeyaml-1.30.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.builders.HttpSecurity (Extension)
   -> org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration$1 (Extension)
    -> org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration (Extension)
    ...
      -> org.springframework.beans.factory.config.YamlMapFactoryBean (Extension)
       -> org.yaml.snakeyaml.Yaml (Extension)
        -> ❌ org.yaml.snakeyaml.composer.Composer (Vulnerable Component)

Vulnerability Details

Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.

Publish Date: 2022-09-05

URL: CVE-2022-38749

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://bitbucket.org/snakeyaml/snakeyaml/issues/526/stackoverflow-oss-fuzz-47027

Release Date: 2022-09-05

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-2022-41854

Vulnerable Library - snakeyaml-1.30.jar

YAML 1.1 parser and emitter for Java

Library home page: https://bitbucket.org/snakeyaml/snakeyaml

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/yaml/snakeyaml/1.30/snakeyaml-1.30.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • snakeyaml-1.30.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter (Extension)
   -> org.springframework.boot.web.servlet.context.XmlServletWebServerApplicationContext (Extension)
    -> org.springframework.beans.factory.config.YamlPropertiesFactoryBean (Extension)
    ...
      -> org.yaml.snakeyaml.constructor.BaseConstructor (Extension)
       -> org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlSet (Extension)
        -> ❌ org.yaml.snakeyaml.constructor.SafeConstructor (Vulnerable Component)

Vulnerability Details

Those using Snakeyaml to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stack overflow. This effect may support a denial of service attack.

Publish Date: 2022-11-11

URL: CVE-2022-41854

CVSS 3 Score Details (5.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: Required
    • Scope: Changed
  • 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://bitbucket.org/snakeyaml/snakeyaml/issues/531/

Release Date: 2022-11-11

Fix Resolution (org.yaml:snakeyaml): 1.32

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-12801

Vulnerable Library - logback-core-1.2.11.jar

logback-core module

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/ch/qos/logback/logback-core/1.2.11/logback-core-1.2.11.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-starter-logging-2.7.1.jar
        • logback-classic-1.2.11.jar
          • logback-core-1.2.11.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.lessons.logging.LogBleedingTask (Application)
  -> org.slf4j.LoggerFactory (Extension)
   -> org.slf4j.impl.StaticLoggerBinder (Extension)
    -> ch.qos.logback.classic.util.ContextSelectorStaticBinder (Extension)
     -> ch.qos.logback.core.util.OptionHelper (Extension)
      -> ❌ ch.qos.logback.core.joran.event.SaxEventRecorder (Vulnerable Component)

Vulnerability Details

Server-Side Request Forgery (SSRF) in SaxEventRecorder by QOS.CH logback version 0.1 to 1.3.14 and 1.4.0 to 1.5.12  on the Java platform, allows an attacker to
forge requests by compromising logback configuration files in XML.
The attacks involves the modification of DOCTYPE declaration in  XML configuration files.

Publish Date: 2024-12-19

URL: CVE-2024-12801

CVSS 3 Score Details (4.4)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-6v67-2wr5-gvf4

Release Date: 2024-12-19

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

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-38808

Vulnerable Library - spring-expression-5.3.21.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.21/spring-expression-5.3.21.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-2.7.1.jar
        • spring-context-5.3.21.jar
          • spring-expression-5.3.21.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.WebSecurityConfig (Application)
  -> org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer (Extension)
   -> org.springframework.security.access.expression.SecurityExpressionHandler (Extension)
    -> org.springframework.expression.ExpressionParser (Extension)
     -> org.springframework.expression.spel.standard.SpelExpression (Extension)
      -> ❌ org.springframework.expression.spel.ast.ConstructorReference (Vulnerable Component)

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.38 and older unsupported versions, it is possible for a user to provide a specially crafted Spring Expression Language (SpEL) expression that may cause a denial of service (DoS) condition.

Specifically, an application is vulnerable when the following is true:

  • The application evaluates user-supplied SpEL expressions.

Publish Date: 2024-08-20

URL: CVE-2024-38808

CVSS 3 Score Details (4.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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://spring.io/security/cve-2024-38808

Release Date: 2024-08-20

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

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2024-38820

Vulnerable Library - spring-context-5.3.21.jar

Spring Context

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-context/5.3.21/spring-context-5.3.21.jar

Dependency Hierarchy:

  • spring-boot-starter-validation-2.7.1.jar (Root Library)
    • spring-boot-starter-2.7.1.jar
      • spring-boot-2.7.1.jar
        • spring-context-5.3.21.jar (Vulnerable Library)

Found in HEAD commit: cd254e2c7f680e97973905273e4e31c47e82b8ff

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.lessons.passwordreset.ResetLinkAssignment (Application)
  -> org.springframework.validation.BindingResult (Extension)
   -> ❌ org.springframework.validation.DataBinder (Vulnerable Component)

Vulnerability Details

The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected.

Publish Date: 2024-10-18

URL: CVE-2024-38820

CVSS 3 Score Details (3.1)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://spring.io/security/cve-2024-38820

Release Date: 2024-10-18

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

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

⛑️ 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 Apr 17, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 7 vulnerabilities (highest severity is: 9.8) spring-boot-starter-validation-2.7.1.jar: 7 vulnerabilities (highest severity is: 9.8) reachable Apr 19, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 7 vulnerabilities (highest severity is: 9.8) reachable spring-boot-starter-validation-2.7.1.jar: 12 vulnerabilities (highest severity is: 9.8) reachable Dec 4, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 12 vulnerabilities (highest severity is: 9.8) reachable spring-boot-starter-validation-2.7.1.jar: 13 vulnerabilities (highest severity is: 9.8) reachable Dec 6, 2023
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 13 vulnerabilities (highest severity is: 9.8) reachable spring-boot-starter-validation-2.7.1.jar: 12 vulnerabilities (highest severity is: 9.8) reachable Jul 17, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 12 vulnerabilities (highest severity is: 9.8) reachable spring-boot-starter-validation-2.7.1.jar: 13 vulnerabilities (highest severity is: 9.8) reachable Aug 17, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 13 vulnerabilities (highest severity is: 9.8) reachable spring-boot-starter-validation-2.7.1.jar: 13 vulnerabilities (highest severity is: 8.3) reachable Sep 8, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 13 vulnerabilities (highest severity is: 8.3) reachable spring-boot-starter-validation-2.7.1.jar: 14 vulnerabilities (highest severity is: 8.3) reachable Oct 18, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 14 vulnerabilities (highest severity is: 8.3) reachable spring-boot-starter-validation-2.7.1.jar: 13 vulnerabilities (highest severity is: 8.3) reachable Nov 5, 2024
@mend-for-github-com mend-for-github-com bot changed the title spring-boot-starter-validation-2.7.1.jar: 13 vulnerabilities (highest severity is: 8.3) reachable spring-boot-starter-validation-2.7.1.jar: 15 vulnerabilities (highest severity is: 8.3) reachable 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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants