amaybaum-dev / verademo

A deliberately insecure Java web application
MIT License
0 stars 3 forks source link

xmlsec-1.5.1.jar: 2 vulnerabilities (highest severity is: 3.7) reachable - autoclosed #35

Closed dev-mend-for-github-com[bot] closed 10 months ago

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - xmlsec-1.5.1.jar

Apache XML Security for Java supports XML-Signature Syntax and Processing, W3C Recommendation 12 February 2002, and XML Encryption Syntax and Processing, W3C Recommendation 10 December 2002. As of version 1.4, the library supports the standard Java API JSR-105: XML Digital Signature APIs.

Library home page: http://santuario.apache.org/

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/xmlsec-1.5.1.jar,/home/wss-scanner/.m2/repository/org/apache/santuario/xmlsec/1.5.1/xmlsec-1.5.1.jar

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (xmlsec version) Remediation Possible** Reachability
CVE-2013-2172 Low 3.7 xmlsec-1.5.1.jar Direct 1.5.5
CVE-2013-4517 Low 3.7 xmlsec-1.5.1.jar Direct 1.5.6

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

Details

CVE-2013-2172 ### Vulnerable Library - xmlsec-1.5.1.jar

Apache XML Security for Java supports XML-Signature Syntax and Processing, W3C Recommendation 12 February 2002, and XML Encryption Syntax and Processing, W3C Recommendation 10 December 2002. As of version 1.4, the library supports the standard Java API JSR-105: XML Digital Signature APIs.

Library home page: http://santuario.apache.org/

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/xmlsec-1.5.1.jar,/home/wss-scanner/.m2/repository/org/apache/santuario/xmlsec/1.5.1/xmlsec-1.5.1.jar

Dependency Hierarchy: - :x: **xmlsec-1.5.1.jar** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java in Apache Santuario XML Security for Java 1.4.x before 1.4.8 and 1.5.x before 1.5.5 allows context-dependent attackers to spoof an XML Signature by using the CanonicalizationMethod parameter to specify an arbitrary weak "canonicalization algorithm to apply to the SignedInfo part of the Signature."

Publish Date: 2013-08-20

URL: CVE-2013-2172

### CVSS 3 Score Details (3.7)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-2172

Release Date: 2013-08-20

Fix Resolution: 1.5.5

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2013-4517 ### Vulnerable Library - xmlsec-1.5.1.jar

Apache XML Security for Java supports XML-Signature Syntax and Processing, W3C Recommendation 12 February 2002, and XML Encryption Syntax and Processing, W3C Recommendation 10 December 2002. As of version 1.4, the library supports the standard Java API JSR-105: XML Digital Signature APIs.

Library home page: http://santuario.apache.org/

Path to dependency file: /app/pom.xml

Path to vulnerable library: /WEB-INF/lib/xmlsec-1.5.1.jar,/home/wss-scanner/.m2/repository/org/apache/santuario/xmlsec/1.5.1/xmlsec-1.5.1.jar

Dependency Hierarchy: - :x: **xmlsec-1.5.1.jar** (Vulnerable Library)

Found in base branch: main

### Reachability Analysis

This vulnerability is potentially used ``` com.veracode.verademo.controller.ToolsController (Application) -> org.apache.log4j.LogManager (Extension) -> org.apache.log4j.helpers.OptionConverter (Extension) -> org.apache.xml.security.utils.XMLUtils (Extension) ... -> org.apache.xml.security.Init (Extension) -> org.apache.xml.security.keys.keyresolver.KeyResolver (Extension) -> ❌ org.apache.xml.security.keys.keyresolver.implementations.RetrievalMethodResolver (Vulnerable Component) ```

### Vulnerability Details

Apache Santuario XML Security for Java before 1.5.6, when applying Transforms, allows remote attackers to cause a denial of service (memory consumption) via crafted Document Type Definitions (DTDs), related to signatures.

Publish Date: 2014-01-11

URL: CVE-2013-4517

### CVSS 3 Score Details (3.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4517

Release Date: 2014-01-11

Fix Resolution: 1.5.6

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

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

dev-mend-for-github-com[bot] commented 10 months 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.