zc_plugin_dm icon indicating copy to clipboard operation
zc_plugin_dm copied to clipboard

CVE-2025-58754 (High) detected in axios-0.21.4.tgz

Open mend-bolt-for-github[bot] opened this issue 2 months ago • 0 comments

CVE-2025-58754 - High Severity Vulnerability

Vulnerable Library - axios-0.21.4.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.21.4.tgz

Path to dependency file: /dmplugins/package.json

Path to vulnerable library: /dmplugins/package.json

Dependency Hierarchy:

  • :x: axios-0.21.4.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Axios is a promise based HTTP client for the browser and Node.js. When Axios prior to versions 0.30.2 and 1.12.0 runs on Node.js and is given a URL with the "data:" scheme, it does not perform HTTP. Instead, its Node http adapter decodes the entire payload into memory ("Buffer"/"Blob") and returns a synthetic 200 response. This path ignores "maxContentLength" / "maxBodyLength" (which only protect HTTP responses), so an attacker can supply a very large "data:" URI and cause the process to allocate unbounded memory and crash (DoS), even if the caller requested "responseType: 'stream'". Versions 0.30.2 and 1.12.0 contain a patch for the issue.

Publish Date: 2025-09-12

URL: CVE-2025-58754

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://github.com/advisories/GHSA-4hjh-wcwx-xvwj

Release Date: 2025-09-12

Fix Resolution: axios - 0.30.2


Step up your Open Source Security Game with Mend here