Skip to content

react-1.54.0.tgz: 2 vulnerabilities (highest severity is: 9.8) #201

@ibm-mend-app

Description

@ibm-mend-app
Vulnerable Library - react-1.54.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: 38861040afa73313b71d1d8b3f6404bff7d9796b

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (react version) Remediation Possible**
MSC-2024-9045 Critical 9.8 wicg-inert-3.1.2.tgz Transitive N/A*
CVE-2025-27789 Medium 6.2 runtime-7.23.2.tgz Transitive 1.55.0

*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

MSC-2024-9045

Vulnerable Library - wicg-inert-3.1.2.tgz

A polyfill for the proposed inert API

Library home page: https://registry.npmjs.org/wicg-inert/-/wicg-inert-3.1.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • react-1.54.0.tgz (Root Library)
    • wicg-inert-3.1.2.tgz (Vulnerable Library)

Found in HEAD commit: 38861040afa73313b71d1d8b3f6404bff7d9796b

Found in base branch: master

Vulnerability Details

A malicious Polyfill reference has been identified in this package. The issue is located in the files: "package\demo\index.html" and "package\karma.conf.js".
To address this security concern, we recommend taking one of two actions: either remove the affected file completely or replace the suspicious reference with a trusted alternative. Reliable Polyfill sources include Cloudflare (https://cdnjs.cloudflare.com/polyfill) and Fastly (https://community.fastly.com/t/new-options-for-polyfill-io-users/2540).
Mend Note: For more detailed information about the Polyfill supply chain attack and its widespread impact, you can refer to our comprehensive blog post at https://www.mend.io/blog/more-than-100k-sites-impacted-by-polyfill-supply-chain-attack/.

Publish Date: 2024-07-04

URL: MSC-2024-9045

CVSS 3 Score Details (9.8)

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

For more information on CVSS3 Scores, click here.

CVE-2025-27789

Vulnerable Library - runtime-7.23.2.tgz

Library home page: https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • react-1.54.0.tgz (Root Library)
    • runtime-7.23.2.tgz (Vulnerable Library)

Found in HEAD commit: 38861040afa73313b71d1d8b3f6404bff7d9796b

Found in base branch: master

Vulnerability Details

Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the ".replace" method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to ".replace"). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the ".replace" method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of ".replace". This problem has been fixed in "@babel/helpers" and "@babel/runtime" 7.26.10 and 8.0.0-alpha.17. It's likely that individual users do not directly depend on "@babel/helpers", and instead depend on "@babel/core" (which itself depends on "@babel/helpers"). Upgrading to "@babel/core" 7.26.10 is not required, but it guarantees use of a new enough "@babel/helpers" version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.

Publish Date: 2025-03-11

URL: CVE-2025-27789

CVSS 3 Score Details (6.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • 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-968p-4wvh-cqc8

Release Date: 2025-03-11

Fix Resolution (@babel/runtime): 7.26.10

Direct dependency fix Resolution (@carbon/react): 1.55.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

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