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-2.7.5.jar: 2 vulnerabilities (highest severity is: 6.5) reachable #5

Open
dev-mend-for-github-com bot opened this issue Jul 17, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@dev-mend-for-github-com
Copy link

dev-mend-for-github-com bot commented Jul 17, 2023

Vulnerable Library - spring-boot-2.7.5.jar

Path to dependency file: /telegrambots-spring-boot-starter/pom.xml

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

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot version) Remediation Possible** Reachability
CVE-2023-20863 Medium 6.5 spring-expression-5.3.23.jar Transitive 2.7.12

Reachable

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

Reachable

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

Details

CVE-2023-20863

Vulnerable Library - spring-expression-5.3.23.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /telegrambots-spring-boot-starter/pom.xml

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

Dependency Hierarchy:

  • spring-boot-2.7.5.jar (Root Library)
    • spring-context-5.3.23.jar
      • spring-expression-5.3.23.jar (Vulnerable Library)

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

org.telegram.telegrambots.updatesreceivers.DefaultWebhook (Application)
  -> org.glassfish.jersey.jackson.JacksonFeature (Extension)
   -> org.glassfish.jersey.message.filtering.EntityFilteringFeature (Extension)
    -> org.jvnet.hk2.internal.ConstructorActionImpl (Extension)
    ...
      -> org.springframework.cache.interceptor.CacheOperationExpressionEvaluator (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): 2.7.12

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2023-20861

Vulnerable Library - spring-expression-5.3.23.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /telegrambots-spring-boot-starter/pom.xml

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

Dependency Hierarchy:

  • spring-boot-2.7.5.jar (Root Library)
    • spring-context-5.3.23.jar
      • spring-expression-5.3.23.jar (Vulnerable Library)

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

org.telegram.telegrambots.updatesreceivers.DefaultWebhook (Application)
  -> org.glassfish.jersey.jackson.JacksonFeature (Extension)
   -> org.glassfish.jersey.jackson.internal.JacksonFilteringFeature (Extension)
    -> org.springframework.cache.interceptor.CacheInterceptor (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): 2.7.10

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

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