Skip to content

client-appsync-3.288.0.tgz: 2 vulnerabilities (highest severity is: 7.5) #294

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - client-appsync-3.288.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/fast-xml-parser/package.json

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (client-appsync version) Remediation Possible**
CVE-2024-41818 High 7.5 fast-xml-parser-4.1.2.tgz Transitive 3.315.0
CVE-2023-34104 High 7.5 fast-xml-parser-4.1.2.tgz 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.

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

Details

CVE-2024-41818

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

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/fast-xml-parser/package.json

Dependency Hierarchy:

  • client-appsync-3.288.0.tgz (Root Library)
    • client-sts-3.288.0.tgz
      • fast-xml-parser-4.1.2.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

fast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This vulnerability is fixed in 4.4.1.

Publish Date: 2024-07-29

URL: CVE-2024-41818

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: https://nvd.nist.gov/vuln/detail/CVE-2024-41818

Release Date: 2024-07-29

Fix Resolution (fast-xml-parser): 4.4.1

Direct dependency fix Resolution (@aws-sdk/client-appsync): 3.315.0

Step up your Open Source Security Game with Mend here

CVE-2023-34104

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

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/fast-xml-parser/package.json

Dependency Hierarchy:

  • client-appsync-3.288.0.tgz (Root Library)
    • client-sts-3.288.0.tgz
      • fast-xml-parser-4.1.2.tgz (Vulnerable Library)

Found in base branch: main

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.
Mend Note: The description of this vulnerability differs from MITRE.

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.

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions