GHSA-4xcv-9jjx-gfj3
Dashboard / Vulnerabilities / GHSA-4xcv-9jjx-gfj3
GHSA-4xcv-9jjx-gfj3
Published: 5 Jul 2019Last Modified: 17 Aug 2021
Summary: Denial of Service in mem
Details: 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 Upgrade to version 4.0.0 or later.
References: https://github.com/sindresorhus/mem/commit/da4e4398cb27b602de3bd55f746efa9b4a31702b, https://bugzilla.redhat.com/show_bug.cgi?id=1623744, https://snyk.io/vuln/npm:mem:20180117, https://www.npmjs.com/advisories/1084
Affected packages
Package
Name: mem
Purl: pkg:npm/mem
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -4.0.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
