turkdevops / sourcegraph

Universal code search (self-hosted)
https://sourcegraph.com
Other
1 stars 0 forks source link

WS-2019-0158 (Medium) detected in static-eval-2.0.0.tgz - autoclosed #197

Closed mend-bolt-for-github[bot] closed 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

WS-2019-0158 - Medium Severity Vulnerability

Vulnerable Library - static-eval-2.0.0.tgz

evaluate statically-analyzable expressions

Library home page: https://registry.npmjs.org/static-eval/-/static-eval-2.0.0.tgz

Path to dependency file: sourcegraph/cmd/management-console/web/package.json

Path to vulnerable library: sourcegraph/cmd/management-console/web/node_modules/static-eval

Dependency Hierarchy: - parcel-bundler-1.11.0.tgz (Root Library) - logger-1.11.0.tgz - grapheme-breaker-0.3.2.tgz - brfs-1.6.1.tgz - static-module-2.2.5.tgz - :x: **static-eval-2.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: f8d44c382168ebea3a3dae2b5347a7ffe36f343a

Found in base branch: dev/seed-tool

Vulnerability Details

static-eval before 2.0.2 pass untrusted user input directly to the global function constructor. leads to Arbitrary Code Execution

Publish Date: 2019-02-18

URL: WS-2019-0158

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/758

Release Date: 2019-07-15

Fix Resolution: 2.0.2


Step up your Open Source Security Game with WhiteSource here

mend-bolt-for-github[bot] commented 3 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.