ADVISORIES

openEuler Security Advisory

OESA-2022-1544

nodejs-grunt security update

Details

Grunt is the JavaScript task runner. Why use a task runner? In one word: automation. The less work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc, the easier your job becomes. After you've configured it, a task runner can do most of that mundane work for you with basically zero effort.

Security Fix(es):

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.(CVE-2020-7729)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1nodejs-grunt
All versions before 1.0.1-2.oe1 (fixed in 1.0.1-2.oe1)
openEuler:20.03-LTS-SP2nodejs-grunt
All versions before 1.0.1-2.oe1 (fixed in 1.0.1-2.oe1)
openEuler:20.03-LTS-SP3nodejs-grunt
All versions before 1.0.1-2.oe1 (fixed in 1.0.1-2.oe1)

References