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

is-svg-4.3.1.tgz: 2 vulnerabilities (highest severity is: 7.5) #39

Open
mend-bolt-for-github bot opened this issue Jun 19, 2023 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Jun 19, 2023

Vulnerable Library - is-svg-4.3.1.tgz

Path to dependency file: /src/Web/WebSPA/Client/package.json

Path to vulnerable library: /src/Web/WebSPA/Client/node_modules/fast-xml-parser/package.json

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (is-svg version) Remediation Possible**
CVE-2023-34104 High 7.5 fast-xml-parser-3.19.0.tgz Transitive 4.4.0
CVE-2023-26920 Medium 6.5 fast-xml-parser-3.19.0.tgz Transitive 4.4.0

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

Details

CVE-2023-34104

Vulnerable Library - fast-xml-parser-3.19.0.tgz

Validate XML or Parse XML to JS/JSON very fast without C/C++ based libraries

Library home page: https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz

Path to dependency file: /src/Web/WebSPA/Client/package.json

Path to vulnerable library: /src/Web/WebSPA/Client/node_modules/fast-xml-parser/package.json

Dependency Hierarchy:

  • is-svg-4.3.1.tgz (Root Library)
    • fast-xml-parser-3.19.0.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

fast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special characters in entity names, which are not escaped or sanitized. Since the entity name is used for creating a regex for searching and replacing entities in the XML body, an attacker can abuse it for denial of service (DoS) attacks. By crafting an entity name that results in an intentionally bad performing regex and utilizing it in the entity replacement step of the parser, this can cause the parser to stall for an indefinite amount of time. This problem has been resolved in v4.2.4. Users are advised to upgrade. Users unable to upgrade should avoid using DOCTYPE parsing by setting the processEntities: false option.

Publish Date: 2023-06-06

URL: CVE-2023-34104

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

Origin: GHSA-6w63-h3fj-q4vw

Release Date: 2023-06-06

Fix Resolution (fast-xml-parser): 4.2.4

Direct dependency fix Resolution (is-svg): 4.4.0

Step up your Open Source Security Game with Mend here

CVE-2023-26920

Vulnerable Library - fast-xml-parser-3.19.0.tgz

Validate XML or Parse XML to JS/JSON very fast without C/C++ based libraries

Library home page: https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.19.0.tgz

Path to dependency file: /src/Web/WebSPA/Client/package.json

Path to vulnerable library: /src/Web/WebSPA/Client/node_modules/fast-xml-parser/package.json

Dependency Hierarchy:

  • is-svg-4.3.1.tgz (Root Library)
    • fast-xml-parser-3.19.0.tgz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

fast-xml-parser before 4.1.2 allows proto for Prototype Pollution.

Publish Date: 2023-12-12

URL: CVE-2023-26920

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • 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: GHSA-x3cc-x39p-42qx

Release Date: 2023-12-12

Fix Resolution (fast-xml-parser): 4.1.2

Direct dependency fix Resolution (is-svg): 4.4.0

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jun 19, 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