Insecure Default Initialization of Resource Affecting grunt package, versions <1.0.4-2ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.4% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-GRUNT-1129062
  • published21 Oct 2020
  • disclosed3 Sept 2020

Introduced: 3 Sep 2020

CVE-2020-7729  (opens in a new tab)
CWE-1188  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 grunt to version 1.0.4-2ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grunt package and not the grunt package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1