-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Vulnerable Library - axios-0.26.1.tgz
Promise based HTTP client for the browser and node.js
Library home page: https://registry.npmjs.org/axios/-/axios-0.26.1.tgz
Path to dependency file: /api-gateway/package.json
Path to vulnerable library: /api-gateway/node_modules/axios/package.json
Found in HEAD commit: a2ed13ef7f5dce613f19af695433a78d5b7ea082
Vulnerabilities
Vulnerability | Severity | Dependency | Type | Fixed in (axios version) | Remediation Possible** | |
---|---|---|---|---|---|---|
WS-2023-0439 | 7.5 | axios-0.26.1.tgz | Direct | N/A | ❌ | |
CVE-2025-58754 | 7.5 | axios-0.26.1.tgz | Direct | 1.12.0 | ❌ | |
CVE-2025-27152 | 7.5 | axios-0.26.1.tgz | Direct | 0.30.0 | ❌ | |
CVE-2023-45857 | 6.5 | axios-0.26.1.tgz | Direct | 0.28.0 | ❌ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
WS-2023-0439
Vulnerable Library - axios-0.26.1.tgz
Promise based HTTP client for the browser and node.js
Library home page: https://registry.npmjs.org/axios/-/axios-0.26.1.tgz
Path to dependency file: /api-gateway/package.json
Path to vulnerable library: /api-gateway/node_modules/axios/package.json
Dependency Hierarchy:
- ❌ axios-0.26.1.tgz (Vulnerable Library)
Found in HEAD commit: a2ed13ef7f5dce613f19af695433a78d5b7ea082
Found in base branch: main
Vulnerability Details
Axios is vulnerable to Regular Expression Denial of Service (ReDoS). When a manipulated string is provided as input to the format method, the regular expression exhibits a time complexity of O(n^2). Server becomes unable to provide normal service due to the excessive cost and time wasted in processing vulnerable regular expressions.
Publish Date: 2023-10-25
URL: WS-2023-0439
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
Step up your Open Source Security Game with Mend here
CVE-2025-58754
Vulnerable Library - axios-0.26.1.tgz
Promise based HTTP client for the browser and node.js
Library home page: https://registry.npmjs.org/axios/-/axios-0.26.1.tgz
Path to dependency file: /api-gateway/package.json
Path to vulnerable library: /api-gateway/node_modules/axios/package.json
Dependency Hierarchy:
- ❌ axios-0.26.1.tgz (Vulnerable Library)
Found in HEAD commit: a2ed13ef7f5dce613f19af695433a78d5b7ea082
Found in base branch: main
Vulnerability Details
Axios is a promise based HTTP client for the browser and Node.js. When Axios prior to version 1.11.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'". Version 1.11.0 contains 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: 1.12.0
Step up your Open Source Security Game with Mend here
CVE-2025-27152
Vulnerable Library - axios-0.26.1.tgz
Promise based HTTP client for the browser and node.js
Library home page: https://registry.npmjs.org/axios/-/axios-0.26.1.tgz
Path to dependency file: /api-gateway/package.json
Path to vulnerable library: /api-gateway/node_modules/axios/package.json
Dependency Hierarchy:
- ❌ axios-0.26.1.tgz (Vulnerable Library)
Found in HEAD commit: a2ed13ef7f5dce613f19af695433a78d5b7ea082
Found in base branch: main
Vulnerability Details
axios is a promise based HTTP client for the browser and node.js. The issue occurs when passing absolute URLs rather than protocol-relative URLs to axios. Even if baseURL is set, axios sends the request to the specified absolute URL, potentially causing SSRF and credential leakage. This issue impacts both server-side and client-side usage of axios. This issue is fixed in 1.8.2.
Publish Date: 2025-03-07
URL: CVE-2025-27152
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: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2025-27152
Release Date: 2025-03-07
Fix Resolution: 0.30.0
Step up your Open Source Security Game with Mend here
CVE-2023-45857
Vulnerable Library - axios-0.26.1.tgz
Promise based HTTP client for the browser and node.js
Library home page: https://registry.npmjs.org/axios/-/axios-0.26.1.tgz
Path to dependency file: /api-gateway/package.json
Path to vulnerable library: /api-gateway/node_modules/axios/package.json
Dependency Hierarchy:
- ❌ axios-0.26.1.tgz (Vulnerable Library)
Found in HEAD commit: a2ed13ef7f5dce613f19af695433a78d5b7ea082
Found in base branch: main
Vulnerability Details
An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.
Publish Date: 2023-11-08
URL: CVE-2023-45857
CVSS 3 Score Details (6.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-wf5p-g6vw-rhxx
Release Date: 2023-11-08
Fix Resolution: 0.28.0
Step up your Open Source Security Game with Mend here