pp253 / nthu-select-courses

重新設計的選課系統,目標是提供清爽、直覺和方便的選課系統!
https://nthu-courses.github.io
Apache License 2.0
8 stars 1 forks source link

WS-2019-0047 (Medium) detected in tar-2.2.1.tgz #59

Open mend-bolt-for-github[bot] opened 5 years ago

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

WS-2019-0047 - Medium Severity Vulnerability

Vulnerable Library - tar-2.2.1.tgz

tar for node

Library home page: https://registry.npmjs.org/tar/-/tar-2.2.1.tgz

Path to dependency file: /nthu-select-courses/package.json

Path to vulnerable library: /tmp/git/nthu-select-courses/node_modules/tar/package.json

Dependency Hierarchy: - node-sass-4.11.0.tgz (Root Library) - node-gyp-3.8.0.tgz - :x: **tar-2.2.1.tgz** (Vulnerable Library)

Found in HEAD commit: 6e5c4ce6020486dea3933180badadc1b4a5af37a

Vulnerability Details

Versions of node-tar prior to 4.4.2 are vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hardlink to a file that already exists in the system, and a file that matches the hardlink will overwrite the system's file with the contents of the extracted file.

Publish Date: 2019-04-05

URL: WS-2019-0047

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

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

Release Date: 2019-04-05

Fix Resolution: 4.4.2


Step up your Open Source Security Game with WhiteSource here