dodekanisou / home-automation

Home automation via RPI and .net core
0 stars 1 forks source link

CVE-2020-7729 (High) detected in grunt-0.4.5.tgz #248

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

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

CVE-2020-7729 - High Severity Vulnerability

Vulnerable Library - grunt-0.4.5.tgz

The JavaScript Task Runner

Library home page: https://registry.npmjs.org/grunt/-/grunt-0.4.5.tgz

Path to dependency file: home-automation/RpiHost/wwwroot/lib/admin-lte/plugins/jquery-ui/package.json

Path to vulnerable library: home-automation/RpiHost/wwwroot/lib/admin-lte/plugins/jquery-ui/node_modules/grunt/package.json,home-automation/RpiHost/wwwroot/lib/admin-lte/plugins/jquery-mousewheel/node_modules/grunt/package.json

Dependency Hierarchy: - :x: **grunt-0.4.5.tgz** (Vulnerable Library)

Found in HEAD commit: 76102ccb5ea1ee3cf113887b38c50fab74e0caea

Found in base branch: master

Vulnerability Details

The package grunt before 1.3.0 are vulnerable to Arbitrary Code Execution due to the default usage of the function load() instead of its secure replacement safeLoad() of the package js-yaml inside grunt.file.readYAML.

Publish Date: 2020-09-03

URL: CVE-2020-7729

CVSS 3 Score Details (7.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: Low - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7729

Release Date: 2020-07-21

Fix Resolution: 1.3.0


Step up your Open Source Security Game with WhiteSource here

andreasbotsikas commented 3 years ago

Fixed with: https://github.com/dodekanisou/home-automation/commit/0077b2ef420e1ce14296b216e7c77b12b54c7b05