Tim-Demo / Gradle-multimodule

GNU Lesser General Public License v2.1
0 stars 0 forks source link

CVE-2021-40690 (High) detected in xmlsec-1.5.8.jar #15

Open mend-for-github-com[bot] opened 3 years ago

mend-for-github-com[bot] commented 3 years ago

CVE-2021-40690 - High Severity Vulnerability

Vulnerable Library - xmlsec-1.5.8.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://www.apache.org/

Path to dependency file: /protex-sdk-examples/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.santuario/xmlsec/1.5.8/d0b5e51f571069a86c9578ec15d6d7f9da8c0e76/xmlsec-1.5.8.jar

Dependency Hierarchy: - protex-sdk-utilities-1.0 (Root Library) - cxf-rt-ws-security-2.7.18.SP5-redhat-1.jar - wss4j-1.6.19.redhat-2.jar - :x: **xmlsec-1.5.8.jar** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.

Publish Date: 2021-09-19

URL: CVE-2021-40690

CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40690

Release Date: 2021-09-19

Fix Resolution: org.apache.santuario:xmlsec:2.1.7, 2.2.3