NetSight
medium7.5No CVE yet

GHSA-3mcp-22mf-vrw3

Duplicate Advisory: Axios form serializer maxDepth bypass via {} metatoken

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-hcpx-6fm6-wx23. This link is maintained to preserve external references. ## Original Description axios before 0.33.0 contains an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed to axios form or parameter serialization can trigger a RangeError from JSON.stringify, causing denial of service in the affected request path.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
npmaxios>= 1.15.1, < 1.18.0none recorded

Weakness classification

References