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-gfj3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTR4Y3YtOWpqeC1nZmoz
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 5 years ago
Updated: over 1 year 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: Repository: https://github.com/sindresorhus/mem
Blast Radius: 32.3

Affected Packages

npm:mem
Dependent packages: 752
Dependent repositories: 2,201,056
Downloads: 25,821,681 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