Vulnerability library
Security checkApril 14, 2023

Denial of Service in axios

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmaxios

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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

Update the axios package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 0.18.0
  • Patched version(s): 0.18.1

References

Could your website be exposed too?

SmartScanner can check your website for Denial of Service in axios and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 14, 2023