ADVISORIES

openEuler Security Advisory

OESA-2022-2048

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:22.03-LTSnodejs-grunt
All versions before 1.0.1-5.oe2203 (fixed in 1.0.1-5.oe2203)

References