nicktombeur / naturalcolors

Application to find out if a food color is artificial or natural
GNU General Public License v3.0
0 stars 0 forks source link

WS-2020-0011 (Medium) detected in hoek-8.5.0.tgz - autoclosed #49

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

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

WS-2020-0011 - Medium Severity Vulnerability

Vulnerable Library - hoek-8.5.0.tgz

General purpose node utilities

Library home page: https://registry.npmjs.org/@hapi/hoek/-/hoek-8.5.0.tgz

Path to dependency file: /tmp/ws-scm/naturalcolors/front-end/package.json

Path to vulnerable library: /tmp/ws-scm/naturalcolors/front-end/node_modules/@hapi/hoek/package.json

Dependency Hierarchy: - react-scripts-3.3.0.tgz (Root Library) - workbox-webpack-plugin-4.3.1.tgz - workbox-build-4.3.1.tgz - joi-15.1.1.tgz - :x: **hoek-8.5.0.tgz** (Vulnerable Library)

Found in HEAD commit: d35f18538a57a82e47d406e6e1862708d256466e

Vulnerability Details

Versions of @hapi/hoek prior to 8.5.1 and 9.0.3 are vulnerable to Prototype Pollution. The clone function fails to prevent the modification of the Object prototype when passed specially-crafted input. Attackers may use this to change existing properties that exist in all objects, which may lead to Denial of Service or Remote Code Execution in specific circumstances. This issue does not affect hapi applications since the framework protects against such malicious inputs. Applications that use @hapi/hoek outside of the hapi ecosystem may be vulnerable.

Publish Date: 2020-02-11

URL: WS-2020-0011

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://github.com/hapijs/hoek/compare/v9.0.2...v9.0.3

Release Date: 2020-02-11

Fix Resolution: 9.0.3,8.5.1


Step up your Open Source Security Game with WhiteSource here

mend-bolt-for-github[bot] commented 2 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.