Vulnerability library
Security checkJanuary 09, 2023

Denial of Service in mem

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

Medium severitynpmmem

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Versions of mem prior to 4.0.0 are vulnerable to Denial of Service (DoS). The package fails to remove old values from the cache even after a value passes its maxAge property. This may allow attackers to exhaust the system’s memory if they are able to abuse the application logging.

Recommendation

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

  • Affected version(s): < 4.0.0
  • Patched version(s): 4.0.0

References

Could your website be exposed too?

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

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023