{"id":"GHSA-4xcv-9jjx-gfj3","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.\n\n\n## Recommendation\n\nUpgrade to version 4.0.0 or later.","modified":"2021-08-17T15:44:45Z","published":"2019-07-05T21:07:58Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2019-07-03T20:52:42Z"},"references":[{"type":"WEB","url":"https://github.com/sindresorhus/mem/commit/da4e4398cb27b602de3bd55f746efa9b4a31702b"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1623744"},{"type":"WEB","url":"https://snyk.io/vuln/npm:mem:20180117"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1084"}],"affected":[{"package":{"name":"mem","ecosystem":"npm","purl":"pkg:npm/mem"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/07/GHSA-4xcv-9jjx-gfj3/GHSA-4xcv-9jjx-gfj3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}