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

java-saml-2.5.0.jar: 3 vulnerabilities (highest severity is: 9.1) #12

Open
mend-for-github-com bot opened this issue Apr 25, 2022 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Apr 25, 2022

Vulnerable Library - java-saml-2.5.0.jar

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/santuario/xmlsec/2.1.4/xmlsec-2.1.4.jar

Found in HEAD commit: a0831a35f4dfa9598464418c155f2f22a21f6e24

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (java-saml version) Remediation Available
WS-2018-0629 Critical 9.1 woodstox-core-5.0.3.jar Transitive 2.6.0
CVE-2021-40690 High 7.5 xmlsec-2.1.4.jar Transitive 2.6.0
CVE-2022-40152 High 7.5 woodstox-core-5.0.3.jar Transitive N/A*

*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.

Details

WS-2018-0629

Vulnerable Library - woodstox-core-5.0.3.jar

Woodstox is a high-performance XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs

Library home page: https://github.com/FasterXML/woodstox

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar

Dependency Hierarchy:

  • java-saml-2.5.0.jar (Root Library)
    • xmlsec-2.1.4.jar
      • woodstox-core-5.0.3.jar (Vulnerable Library)

Found in HEAD commit: a0831a35f4dfa9598464418c155f2f22a21f6e24

Found in base branch: dev

Vulnerability Details

The woodstox-core package is vulnerable to improper restriction of XXE reference.

Publish Date: 2018-08-23

URL: WS-2018-0629

CVSS 3 Score Details (9.1)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2018-08-23

Fix Resolution (com.fasterxml.woodstox:woodstox-core): 5.2.1

Direct dependency fix Resolution (com.onelogin:java-saml): 2.6.0

⛑️ Automatic Remediation is available for this issue

CVE-2021-40690

Vulnerable Library - xmlsec-2.1.4.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: https://santuario.apache.org/

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/apache/santuario/xmlsec/2.1.4/xmlsec-2.1.4.jar

Dependency Hierarchy:

  • java-saml-2.5.0.jar (Root Library)
    • xmlsec-2.1.4.jar (Vulnerable Library)

Found in HEAD commit: a0831a35f4dfa9598464418c155f2f22a21f6e24

Found in base branch: dev

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

Direct dependency fix Resolution (com.onelogin:java-saml): 2.6.0

⛑️ Automatic Remediation is available for this issue

CVE-2022-40152

Vulnerable Library - woodstox-core-5.0.3.jar

Woodstox is a high-performance XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs

Library home page: https://github.com/FasterXML/woodstox

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/com/fasterxml/woodstox/woodstox-core/5.0.3/woodstox-core-5.0.3.jar

Dependency Hierarchy:

  • java-saml-2.5.0.jar (Root Library)
    • xmlsec-2.1.4.jar
      • woodstox-core-5.0.3.jar (Vulnerable Library)

Found in HEAD commit: a0831a35f4dfa9598464418c155f2f22a21f6e24

Found in base branch: dev

Vulnerability Details

Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

Publish Date: 2022-09-16

URL: CVE-2022-40152

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: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2022-09-16

Fix Resolution: com.fasterxml.woodstox:woodstox-core:5.4.0,6.4.0


⛑️ Automatic Remediation is available for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Apr 25, 2022
@mend-for-github-com mend-for-github-com bot changed the title java-saml-2.5.0.jar: 2 vulnerabilities (highest severity is: 9.1) java-saml-2.5.0.jar: 8 vulnerabilities (highest severity is: 9.1) Sep 23, 2022
@mend-for-github-com mend-for-github-com bot changed the title java-saml-2.5.0.jar: 8 vulnerabilities (highest severity is: 9.1) java-saml-2.5.0.jar: 2 vulnerabilities (highest severity is: 9.1) Sep 30, 2022
@mend-for-github-com mend-for-github-com bot changed the title java-saml-2.5.0.jar: 2 vulnerabilities (highest severity is: 9.1) java-saml-2.5.0.jar: 8 vulnerabilities (highest severity is: 9.1) Oct 25, 2022
@mend-for-github-com mend-for-github-com bot changed the title java-saml-2.5.0.jar: 8 vulnerabilities (highest severity is: 9.1) java-saml-2.5.0.jar: 4 vulnerabilities (highest severity is: 9.1) Nov 27, 2022
@mend-for-github-com mend-for-github-com bot changed the title java-saml-2.5.0.jar: 4 vulnerabilities (highest severity is: 9.1) java-saml-2.5.0.jar: 3 vulnerabilities (highest severity is: 9.1) Jan 26, 2023
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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants