Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS-2018-0236 (Medium) detected in mem-1.1.0.tgz #584

Open
mend-bolt-for-github bot opened this issue Jul 3, 2019 · 0 comments
Open

WS-2018-0236 (Medium) detected in mem-1.1.0.tgz #584

mend-bolt-for-github bot opened this issue Jul 3, 2019 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

WS-2018-0236 - Medium Severity Vulnerability

Vulnerable Library - mem-1.1.0.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-1.1.0.tgz

Path to dependency file: /Emendare/client/package.json

Path to vulnerable library: /tmp/git/Emendare/server/node_modules/mem/package.json,/tmp/git/Emendare/server/node_modules/mem/package.json,/tmp/git/Emendare/server/node_modules/mem/package.json

Dependency Hierarchy:

  • jest-23.6.0.tgz (Root Library)
    • jest-cli-23.6.0.tgz
      • yargs-11.1.0.tgz
        • os-locale-2.1.0.tgz
          • mem-1.1.0.tgz (Vulnerable Library)

Found in HEAD commit: ad4d0db339356aacde314ee2e51f81591a252a1d

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: 2019-05-30

URL: WS-2018-0236

CVSS 2 Score Details (5.5)

Base Score Metrics not available

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

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Jul 3, 2019
tivie pushed a commit to showdownjs/showdown that referenced this issue Nov 2, 2019
This fixes the mem security vulnerability (jimmyleray/Emendare#584).

The vulnerability only presents itself when showdown is used as a CLI; it is unlikely that this would have been exploitable.

Closes #738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants