ADVISORIES

GitHub Advisory Database

GHSA-42xw-2xvc-qx8m

Denial of Service in axios

Details

Versions of axios prior to 0.18.1 are vulnerable to Denial of Service. If a request exceeds the maxContentLength property, the package prints an error but does not stop the request. This may cause high CPU usage and lead to Denial of Service.

Recommendation

Upgrade to 0.18.1 or later.

Affected packages

EcosystemPackageAffected versions
npmaxios
All versions before 0.18.1 (fixed in 0.18.1)

References