{ "schema_version": "1.4.0", "id": "GHSA-4xcv-9jjx-gfj3", "modified": "2021-08-17T15:44:45Z", "published": "2019-07-05T21:07:58Z", "aliases": [], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "mem" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "4.0.0" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-400" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2019-07-03T20:52:42Z", "nvd_published_at": null } }