OESA-2022-1544

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1544
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1544.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1544
Upstream
Published
2022-03-07T11:03:34Z
Modified
2025-08-12T05:06:43.322113Z
Summary
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)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / nodejs-grunt

Package

Name
nodejs-grunt
Purl
pkg:rpm/openEuler/nodejs-grunt&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.1-2.oe1

Ecosystem specific

{
    "src": [
        "nodejs-grunt-1.0.1-2.oe1.src.rpm"
    ],
    "noarch": [
        "nodejs-grunt-1.0.1-2.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / nodejs-grunt

Package

Name
nodejs-grunt
Purl
pkg:rpm/openEuler/nodejs-grunt&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.1-2.oe1

Ecosystem specific

{
    "src": [
        "nodejs-grunt-1.0.1-2.oe1.src.rpm"
    ],
    "noarch": [
        "nodejs-grunt-1.0.1-2.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / nodejs-grunt

Package

Name
nodejs-grunt
Purl
pkg:rpm/openEuler/nodejs-grunt&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.1-2.oe1

Ecosystem specific

{
    "src": [
        "nodejs-grunt-1.0.1-2.oe1.src.rpm"
    ],
    "noarch": [
        "nodejs-grunt-1.0.1-2.oe1.noarch.rpm"
    ]
}