Skip to content

spring-boot-starter-thymeleaf-2.7.1.jar: 1 vulnerabilities (highest severity is: 7.5) reachable #16

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - spring-boot-starter-thymeleaf-2.7.1.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/thymeleaf/thymeleaf/3.0.15.RELEASE/thymeleaf-3.0.15.RELEASE.jar

Found in HEAD commit: 2ff65424c48b6f26c40b741a18dfe5db8d9c8841

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (spring-boot-starter-thymeleaf version) Remediation Possible** Reachability
CVE-2023-38286 High 7.5 Not Defined 0.1% thymeleaf-3.0.15.RELEASE.jar Transitive 3.0.10

Reachable

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

Details

CVE-2023-38286

Vulnerable Library - thymeleaf-3.0.15.RELEASE.jar

Modern server-side Java template engine for both web and standalone environments

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

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/thymeleaf/thymeleaf/3.0.15.RELEASE/thymeleaf-3.0.15.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-thymeleaf-2.7.1.jar (Root Library)
    • thymeleaf-spring5-3.0.15.RELEASE.jar
      • thymeleaf-3.0.15.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 2ff65424c48b6f26c40b741a18dfe5db8d9c8841

Found in base branch: main

Reachability Analysis

This vulnerability is potentially reachable

org.owasp.webgoat.container.MvcConfiguration (Application)
  -> org.thymeleaf.spring5.SpringTemplateEngine (Extension)
   -> org.thymeleaf.TemplateEngine (Extension)
    -> ❌ org.thymeleaf.IThrottledTemplateProcessor (Vulnerable Component)

Vulnerability Details

Thymeleaf through 3.1.1.RELEASE, as used in spring-boot-admin (aka Spring Boot Admin) through 3.1.1 and other products, allows sandbox bypass via crafted HTML. This may be relevant for SSTI (Server Side Template Injection) and code execution in spring-boot-admin if MailNotifier is enabled and there is write access to environment variables via the UI.

Publish Date: 2023-07-14

URL: CVE-2023-38286

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: High
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-7gj7-224w-vpr3

Release Date: 2023-07-14

Fix Resolution (org.thymeleaf:thymeleaf): 3.1.2.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-thymeleaf): 3.0.10

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions