turkdevops / sourcegraph

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

WS-2019-0023 (Medium) detected in safer-eval-1.2.3.tgz - autoclosed #211

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

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

WS-2019-0023 - Medium Severity Vulnerability

Vulnerable Library - safer-eval-1.2.3.tgz

a safer eval

Library home page: https://registry.npmjs.org/safer-eval/-/safer-eval-1.2.3.tgz

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

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

Dependency Hierarchy: - parcel-bundler-1.11.0.tgz (Root Library) - serialize-to-js-1.2.1.tgz - :x: **safer-eval-1.2.3.tgz** (Vulnerable Library)

Found in HEAD commit: f8d44c382168ebea3a3dae2b5347a7ffe36f343a

Found in base branch: dev/seed-tool

Vulnerability Details

Versions of safer-eval before 1.3.2 are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code.

Publish Date: 2019-03-12

URL: WS-2019-0023

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/787/versions

Release Date: 2019-03-12

Fix Resolution: v1.3.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.