snowdensb / jpo-ode

US Department of Transportation (USDOT) Intelligent Transportation Systems Operational Data Environment (ITS ODE). This is the main repository that integrates and coordinates ODE Submodules.
0 stars 0 forks source link

groovy-all-3.0.8-groovydoc.jar: 3 vulnerabilities (highest severity is: 5.5) #113

Open mend-for-github-com[bot] opened 4 months ago

mend-for-github-com[bot] commented 4 months ago
Vulnerable Library - groovy-all-3.0.8-groovydoc.jar

Path to dependency file: /jpo-ode-core/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (groovy-all version) Remediation Possible** Reachability
CVE-2022-4065 Medium 5.5 testng-7.4.0.jar Transitive N/A*
CVE-2021-36374 Medium 5.5 ant-1.10.9.jar Transitive 3.0.9
CVE-2021-36373 Medium 5.5 ant-1.10.9.jar Transitive 3.0.9

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2022-4065 ### Vulnerable Library - testng-7.4.0.jar

Testing framework for Java

Library home page: https://testng.org

Path to dependency file: /jpo-ode-plugins/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/testng/testng/7.4.0/testng-7.4.0.jar,/home/wss-scanner/.m2/repository/org/testng/testng/7.4.0/testng-7.4.0.jar,/home/wss-scanner/.m2/repository/org/testng/testng/7.4.0/testng-7.4.0.jar,/home/wss-scanner/.m2/repository/org/testng/testng/7.4.0/testng-7.4.0.jar

Dependency Hierarchy: - groovy-all-3.0.8-groovydoc.jar (Root Library) - groovy-testng-3.0.8.jar - :x: **testng-7.4.0.jar** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

A vulnerability was found in cbeust testng 7.5.0/7.6.0/7.6.1/7.7.0. It has been declared as critical. Affected by this vulnerability is the function testngXmlExistsInJar of the file testng-core/src/main/java/org/testng/JarFileUtils.java of the component XML File Parser. The manipulation leads to path traversal. The attack can be launched remotely. Upgrading to version 7.5.1 and 7.7.1 is able to address this issue. The patch is named 9150736cd2c123a6a3b60e6193630859f9f0422b. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-214027.

Publish Date: 2022-11-19

URL: CVE-2022-4065

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2022-11-19

Fix Resolution: org.testng:testng:7.7.0

CVE-2021-36374 ### Vulnerable Library - ant-1.10.9.jar

Library home page: https://ant.apache.org/

Path to dependency file: /jpo-ode-core/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar

Dependency Hierarchy: - groovy-all-3.0.8-groovydoc.jar (Root Library) - groovy-ant-3.0.8.jar - :x: **ant-1.10.9.jar** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats from ZIP archives are for instance JAR files and many office files. Apache Ant prior to 1.9.16 and 1.10.11 were affected.

Publish Date: 2021-07-14

URL: CVE-2021-36374

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - 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://ant.apache.org/security.html

Release Date: 2021-07-14

Fix Resolution (org.apache.ant:ant): 1.10.11

Direct dependency fix Resolution (org.codehaus.groovy:groovy-all): 3.0.9

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-36373 ### Vulnerable Library - ant-1.10.9.jar

Library home page: https://ant.apache.org/

Path to dependency file: /jpo-ode-core/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar,/home/wss-scanner/.m2/repository/org/apache/ant/ant/1.10.9/ant-1.10.9.jar

Dependency Hierarchy: - groovy-all-3.0.8-groovydoc.jar (Root Library) - groovy-ant-3.0.8.jar - :x: **ant-1.10.9.jar** (Vulnerable Library)

Found in base branch: dev

### Vulnerability Details

When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.

Publish Date: 2021-07-14

URL: CVE-2021-36373

### CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - 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-2021-36373

Release Date: 2021-07-14

Fix Resolution (org.apache.ant:ant): 1.10.11

Direct dependency fix Resolution (org.codehaus.groovy:groovy-all): 3.0.9

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.