-
Notifications
You must be signed in to change notification settings - Fork 153
Description
CVE-2025-58754 - High Severity Vulnerability
Vulnerable Library - axios-0.19.0.tgz
Promise based HTTP client for the browser and node.js
Library home page: https://registry.npmjs.org/axios/-/axios-0.19.0.tgz
Path to dependency file: /day59/package.json
Path to vulnerable library: /day59/package.json,/day60/package.json
Dependency Hierarchy:
- browser-sync-2.26.13.tgz (Root Library)
- localtunnel-2.0.0.tgz
- ❌ axios-0.19.0.tgz (Vulnerable Library)
- localtunnel-2.0.0.tgz
Found in HEAD commit: c88b9429eb68a85b22f0e39cac7bf20b89cb6709
Found in base branch: master
Vulnerability Details
Axios is a promise based HTTP client for the browser and Node.js. When Axios starting in version 0.28.0 and 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
Suggested Fix
Type: Upgrade version
Origin: GHSA-4hjh-wcwx-xvwj
Release Date: 2025-09-12
Fix Resolution: https://github.com/axios/axios.git - v1.12.0,axios - 0.30.2
Step up your Open Source Security Game with Mend here