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 scanRelated Issues
- Denial of Service (DoS) vulnerability in RSSHub - CVE-2022-31110
- Regular Expression Denial of Service in underscore.string - Vulnerability
- Denial of Service in url-relative - Vulnerability
- @stablelib/cbor: Stack exhaustion Denial of Service via deeply nested CBOR arrays, maps, or tags - Vulnerability


