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-thymeleaf-1.5.5.RELEASE.jar: 3 vulnerabilities (highest severity is: 7.5) reachable #12

Open
mend-for-jackfan.us.kg bot opened this issue Feb 11, 2025 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-jackfan.us.kg
Copy link

mend-for-jackfan.us.kg bot commented Feb 11, 2025

Vulnerable Library - spring-boot-starter-thymeleaf-1.5.5.RELEASE.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.12/groovy-2.4.12.jar

Found in HEAD commit: 21d02aa2a835d033894b1b2e4c4fdadc665ed2b9

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-thymeleaf version) Remediation Possible** Reachability
CVE-2023-38286 High 7.5 thymeleaf-2.1.5.RELEASE.jar Transitive 3.0.10

Reachable

CVE-2020-17521 Medium 5.5 groovy-2.4.12.jar Transitive 2.0.0.RELEASE

Reachable

CVE-2016-3093 Medium 5.3 ognl-3.0.8.jar Transitive 2.0.0.RELEASE

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-2.1.5.RELEASE.jar

XML/XHTML/HTML5 template engine for Java

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/2.1.5.RELEASE/thymeleaf-2.1.5.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-thymeleaf-1.5.5.RELEASE.jar (Root Library)
    • thymeleaf-spring4-2.1.5.RELEASE.jar
      • thymeleaf-2.1.5.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 21d02aa2a835d033894b1b2e4c4fdadc665ed2b9

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

org.t246osslab.easybuggy4sb.vulnerabilities.XEEandXXEController (Application)
  -> org.thymeleaf.templateparser.xmlsax.AbstractNonValidatingSAXTemplateParser$XmlSAXHandler (Extension)
   -> org.thymeleaf.dom.Node (Extension)
    -> ❌ org.thymeleaf.standard.processor.attr.StandardSrcAttrProcessor (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

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2020-17521

Vulnerable Library - groovy-2.4.12.jar

Groovy: A powerful, dynamic language for the JVM

Library home page: http://groovy-lang.org

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/codehaus/groovy/groovy/2.4.12/groovy-2.4.12.jar

Dependency Hierarchy:

  • spring-boot-starter-thymeleaf-1.5.5.RELEASE.jar (Root Library)
    • thymeleaf-layout-dialect-1.4.0.jar
      • groovy-2.4.12.jar (Vulnerable Library)

Found in HEAD commit: 21d02aa2a835d033894b1b2e4c4fdadc665ed2b9

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

org.t246osslab.easybuggy4sb.controller.AbstractController (Application)
  -> org.springframework.context.support.ClassPathXmlApplicationContext (Extension)
   -> org.springframework.beans.factory.xml.XmlBeanDefinitionReader (Extension)
    -> org.codehaus.groovy.runtime.dgm$72 (Extension)
    ...
      -> groovy.lang.DelegatingMetaClass (Extension)
       -> org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl (Extension)
        -> ❌ org.codehaus.groovy.runtime.DefaultGroovyStaticMethods (Vulnerable Component)

Vulnerability Details

Apache Groovy provides extension methods to aid with creating temporary directories. Prior to this fix, Groovy's implementation of those extension methods was using a now superseded Java JDK method call that is potentially not secure on some operating systems in some contexts. Users not using the extension methods mentioned in the advisory are not affected, but may wish to read the advisory for further details. Versions Affected: 2.0 to 2.4.20, 2.5.0 to 2.5.13, 3.0.0 to 3.0.6, and 4.0.0-alpha-1. Fixed in versions 2.4.21, 2.5.14, 3.0.7, 4.0.0-alpha-2.

Publish Date: 2020-12-07

URL: CVE-2020-17521

CVSS 3 Score Details (5.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://issues.apache.org/jira/browse/GROOVY-9824

Release Date: 2020-12-07

Fix Resolution (org.codehaus.groovy:groovy): 2.4.21

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

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2016-3093

Vulnerable Library - ognl-3.0.8.jar

OGNL - Object Graph Navigation Library

Library home page: http://www.opensymphony.com

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/ognl/ognl/3.0.8/ognl-3.0.8.jar

Dependency Hierarchy:

  • spring-boot-starter-thymeleaf-1.5.5.RELEASE.jar (Root Library)
    • thymeleaf-spring4-2.1.5.RELEASE.jar
      • thymeleaf-2.1.5.RELEASE.jar
        • ognl-3.0.8.jar (Vulnerable Library)

Found in HEAD commit: 21d02aa2a835d033894b1b2e4c4fdadc665ed2b9

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

org.t246osslab.easybuggy4sb.vulnerabilities.OGNLExpressionInjectionController (Application)
  -> ognl.Ognl (Extension)
   -> ❌ ognl.OgnlRuntime (Vulnerable Component)

Vulnerability Details

Apache Struts 2.0.0 through 2.3.24.1 does not properly cache method references when used with OGNL before 3.0.12, which allows remote attackers to cause a denial of service (block access to a web site) via unspecified vectors.

Publish Date: 2016-06-07

URL: CVE-2016-3093

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://nvd.nist.gov/vuln/detail/CVE-2016-3093

Release Date: 2016-06-07

Fix Resolution (ognl:ognl): 3.0.12

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

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-jackfan.us.kg mend-for-jackfan.us.kg bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Feb 11, 2025
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