Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTR4Y3YtOWpqeC1nZmoz
Denial of Service in mem
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.
Permalink: https://github.com/advisories/GHSA-4xcv-9jjx-gfj3JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTR4Y3YtOWpqeC1nZmoz
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 5 years ago
Updated: almost 2 years ago
CVSS Score: 5.1
CVSS vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-4xcv-9jjx-gfj3
References:
- https://github.com/sindresorhus/mem/commit/da4e4398cb27b602de3bd55f746efa9b4a31702b
- https://bugzilla.redhat.com/show_bug.cgi?id=1623744
- https://www.npmjs.com/advisories/1084
- https://snyk.io/vuln/npm:mem:20180117
- https://github.com/advisories/GHSA-4xcv-9jjx-gfj3
Blast Radius: 32.3
Affected Packages
npm:mem
Dependent packages: 752Dependent repositories: 2,201,056
Downloads: 34,460,504 last month
Affected Version Ranges: < 4.0.0
Fixed in: 4.0.0
All affected versions: 0.1.0, 0.1.1, 1.0.0, 1.1.0, 2.0.0, 3.0.0, 3.0.1
All unaffected versions: 4.0.0, 4.1.0, 4.2.0, 4.3.0, 5.0.0, 5.1.0, 5.1.1, 6.0.0, 6.0.1, 6.1.0, 6.1.1, 8.0.0, 8.1.0, 8.1.1, 9.0.0, 9.0.1, 9.0.2, 10.0.0