Skip to content

Denial of Service in axios

High severity GitHub Reviewed Published May 29, 2019 to the GitHub Advisory Database • Updated Apr 14, 2023

Package

npm axios (npm)

Affected versions

<= 0.18.0

Patched versions

0.18.1

Description

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.

References

Published by the National Vulnerability Database May 7, 2019
Reviewed May 14, 2019
Published to the GitHub Advisory Database May 29, 2019
Last updated Apr 14, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2019-10742

GHSA ID

GHSA-42xw-2xvc-qx8m

Source code

No known source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.