WS-2018-0236 (Medium) detected in mem-3.0.1.tgz
Closed this issue · 0 comments
WS-2018-0236 - Medium Severity Vulnerability
Vulnerable Library - mem-3.0.1.tgz
Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
Library home page: https://registry.npmjs.org/mem/-/mem-3.0.1.tgz
Path to dependency file: /tmp/ws-scm/azlint/components/node/package.json
Path to vulnerable library: /tmp/ws-scm/azlint/components/node/node_modules/mem/package.json
Dependency Hierarchy:
- eclint-2.8.1.tgz (Root Library)
- gulp-reporter-2.10.0.tgz
- in-gfw-1.2.0.tgz
- ❌ mem-3.0.1.tgz (Vulnerable Library)
- in-gfw-1.2.0.tgz
- gulp-reporter-2.10.0.tgz
Found in HEAD commit: 204d9f28366e1f23672e27afcf9a70813b35b022
Vulnerability Details
In nodejs-mem before version 4.0.0 there is a memory leak due to old results not being removed from the cache despite reaching maxAge. Exploitation of this can lead to exhaustion of memory and subsequent denial of service.
Publish Date: 2018-08-27
URL: WS-2018-0236
Suggested Fix
Type: Upgrade version
Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1623744
Release Date: 2019-05-30
Fix Resolution: 4.0.0
Step up your Open Source Security Game with WhiteSource here