amaybaum-local / easybuggy4sb

EasyBuggy clone build on Spring Boot
0 stars 0 forks source link

spring-boot-starter-thymeleaf-1.5.6.RELEASE.jar: 2 vulnerabilities (highest severity is: 5.5) reachable - autoclosed #14

Closed mend-for-github-com[bot] closed 1 year ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - spring-boot-starter-thymeleaf-1.5.6.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

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (spring-boot-starter-thymeleaf version) Remediation Available Reachability
CVE-2020-17521 Medium 5.5 groovy-2.4.12.jar Transitive 1.5.7.RELEASE

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

Details

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.6.RELEASE.jar (Root Library) - thymeleaf-layout-dialect-1.4.0.jar - :x: **groovy-2.4.12.jar** (Vulnerable Library)

Found in base branch: master

### Reachability Analysis

This vulnerability is potentially used ``` org.t246osslab.easybuggy4sb.core.filters.SecurityFilter (Application) -> org.springframework.context.support.GenericGroovyApplicationContext (Extension) -> org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader (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): 1.5.7.RELEASE

:rescue_worker_helmet: Automatic Remediation is available for this issue
CVE-2016-3093 ### Vulnerable Library - ognl-3.0.8.jar

OGNL - Object Graph Navigation Library

Library home page: http://ognl.org

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.6.RELEASE.jar (Root Library) - thymeleaf-spring4-2.1.5.RELEASE.jar - thymeleaf-2.1.5.RELEASE.jar - :x: **ognl-3.0.8.jar** (Vulnerable Library)

Found in base branch: master

### Reachability Analysis

This vulnerability is potentially used ``` org.t246osslab.easybuggy4sb.vulnerabilities.OGNLExpressionInjectionController (Application) -> org.t246osslab.easybuggy4sb.controller.AbstractController (Extension) -> org.owasp.esapi.ESAPI (Extension) -> org.thymeleaf.Arguments (Extension) ... -> org.thymeleaf.context.VariablesMap (Extension) -> org.thymeleaf.context.OGNLVariablesMapPropertyAccessor (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

:rescue_worker_helmet: Automatic Remediation is available for this issue

:rescue_worker_helmet: Automatic Remediation is available for this issue.

mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.