Improper Isolation or Compartmentalizationorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Improper Isolation or Compartmentalization in lib/helpers/shouldBypassProxy.js, which matches NO_PROXY entries by exact host or IP and has no parsing for CIDR notation, so an entry such as 127.0.0.0/8 or 10.0.0.0/8 never matches and the request is routed through the configured proxy. An attacker able to observe or operate that proxy can read internal hostnames, request URLs, headers, and any credentials those requests carry, by receiving traffic the deployment intended to keep direct. This requires a Node.js deployment with HTTP_PROXY or HTTPS_PROXY set, at least one NO_PROXY entry written in CIDR form, and a proxy sitting outside the intended trust boundary, and exact host or IP entries in NO_PROXY are matched correctly.
Note: This is only exploitable when requests are configured with proxy: false.
How to fix Improper Isolation or Compartmentalization? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Prototype Pollutionorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Prototype Pollution via insufficient hardening of runtime option handling across multiple request-processing helpers (lib/helpers/resolveConfig.js, lib/helpers/toFormData.js, lib/adapters/fetch.js, and related files). An attacker can supply a manipulated configuration object that overrides internally owned fetch options (such as body, headers, method, signal) or bypasses the default formSerializer.maxDepth limit, leading to integrity violations in outgoing requests or a crash causing denial of service.
Note: This is only exploitable when the caller does not explicitly set formSerializer.maxDepth, allowing a prototype-level or caller-supplied value to override the expected default.
How to fix Prototype Pollution? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Prototype Pollutionorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Prototype Pollution via insufficient hardening of runtime option handling in the fetch and HTTP adapters (lib/adapters/fetch.js, lib/adapters/http.js, and related helpers). An attacker who can influence request configuration options passed to axios can supply unsanitized values that bypass expected constraints, resulting in unintended modification of downstream system behavior (SI:H) such as request routing or proxy bypass, while leaving the client-side response unaffected (VC:N, VI:N, VA:N).
How to fix Prototype Pollution? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Allocation of Resources Without Limits or Throttlingorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via unsafe runtime option handling in the fetch and HTTP adapters, where user-supplied fetchOptions are merged into the resolved request options without sanitization. An attacker who can influence request configuration can trigger uncontrolled resource consumption, crashing the process.
Note: This is only exploitable when requests follow redirects (i.e., maxRedirects is not set to 0), unless application code manually follows the malicious redirect and re-enters axios.
How to fix Allocation of Resources Without Limits or Throttling? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Server-side Request Forgery (SSRF)org.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via unsafe merging of user-supplied fetchOptions into the resolved request options object in lib/adapters/fetch.js. An attacker who controls request configuration can supply a fetchOptions object with prototype-polluting keys (e.g. __proto__ or constructor), which are spread directly into the options passed to the Fetch API without sanitization, allowing pollution of Object.prototype and affecting downstream system-level behaviour. The fix replaces the spread with Object.assign(Object.create(null), fetchOptions) to strip inherited properties and enforces an allowlist of safe Fetch API keys.
Note: This is only exploitable when the attacker can influence the fetchOptions configuration passed to axios requests.
How to fix Server-side Request Forgery (SSRF)? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Improper Input Validationorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Improper Input Validation via insufficient hardening of runtime option handling in the fetch and HTTP adapters, where user-supplied fetchOptions are merged into the resolved request options without sanitization. An attacker who can influence request configuration can inject or override internal Axios-owned options (such as body, headers, method, signal, credentials), leading to integrity impact on the downstream system receiving the request.
How to fix Improper Input Validation? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Unintended Proxy or Intermediary ('Confused Deputy')org.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Unintended Proxy or Intermediary ('Confused Deputy') via improper enforcement of maxRedirects: 0 in the fetch adapter, where user-supplied fetchOptions are merged into the resolved request options without defaulting the redirect field. When a caller sets maxRedirects: 0 to prevent redirects, the fetch adapter does not apply redirect: 'manual' unless the caller also explicitly sets fetchOptions.redirect, causing the underlying fetch runtime to silently follow a 302 redirect from the initial target and forward the request - including any credentials or sensitive headers - to the redirect destination, which may be attacker-controlled.
Note: This is only exploitable when requests are configured with maxRedirects: 0 but without fetchOptions.redirect: 'manual' or an equivalent runtime-specific redirect control.
How to fix Unintended Proxy or Intermediary ('Confused Deputy')? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Prototype Pollutionorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Prototype Pollution via insufficiently hardened runtime option handling in the fetch and HTTP adapters (lib/adapters/fetch.js, lib/adapters/http.js, and related helpers), where user-controlled or prototype-polluted properties on request configuration objects are merged into fetch/request options without sanitization. An attacker who can introduce a prototype-pollution gadget elsewhere in the application can inject arbitrary properties into the resolved fetch options, leading to integrity violations on outbound requests.
Note: This is only exploitable if an existing prototype-pollution path is present in the application.
How to fix Prototype Pollution? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Unintended Proxy or Intermediary ('Confused Deputy')org.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Unintended Proxy or Intermediary ('Confused Deputy') via insufficient hardening of runtime option handling in the fetch and HTTP adapters (lib/adapters/fetch.js, lib/adapters/http.js, and related helpers). An authenticated attacker can supply malicious request options that are passed through without sanitization, allowing them to override Axios-controlled fetch properties such as body, headers, method, signal, duplex, and credentials, leading to a full compromise of request confidentiality and integrity.
How to fix Unintended Proxy or Intermediary ('Confused Deputy')? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Improper Validation of Specified Quantity in Inputorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via unsafe runtime option handling in the fetch and HTTP adapters, where user-supplied fetchOptions are merged into the resolved request options without sanitization or allowlist enforcement. An attacker who can influence request configuration can supply option values that override Axios-owned fields (such as signal, method, headers, or body) or inject unexpected fetch option keys, causing the request pipeline to crash and producing a denial of service.
How to fix Improper Validation of Specified Quantity in Input? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Improper Validation of Specified Quantity in Inputorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via unsafe runtime option handling in the fetch and HTTP adapters, where user-supplied fetchOptions are merged into the resolved request options without sanitization or allowlist enforcement. An attacker who can influence request configuration can supply option values that override Axios-owned fields (such as signal, method, headers, or body) or inject unexpected fetch option keys, causing the request pipeline to crash and producing a denial of service.
How to fix Improper Validation of Specified Quantity in Input? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Regular Expression Denial of Service (ReDoS)org.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via improper validation of runtime options in resolveConfig and related helpers, where an attacker-controlled or malformed configuration value can trigger a crash in the request processing pipeline. The hardening of option handling across fetch.js, http.js, dispatchRequest.js, and supporting helpers indicates that unsanitized option objects could be passed through to the underlying fetch or HTTP adapter in a way that causes an unhandled runtime error, crashing the process and denying service to other users.
How to fix Regular Expression Denial of Service (ReDoS)? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |
Prototype Pollutionorg.mvnpm:axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Prototype Pollution via unsafe merging of user-supplied fetchOptions in lib/adapters/fetch.js. When a caller passes a fetchOptions object, axios spreads it directly into the resolved request options without sanitizing prototype-inherited properties, allowing an attacker who controls request configuration to pollute Object.prototype and influence downstream system behavior such as request routing or security-sensitive option values.
Note: This is only exploitable when the attacker can influence the fetchOptions configuration object passed to axios requests.
How to fix Prototype Pollution? Upgrade org.mvnpm:axios to version 1.20.0 or higher.
| |