8000 CVE-2022-0144 - high detected in shelljs['0.3.0'] · Issue #94 · snyk-playground/testrepo · GitHub
[go: up one dir, main page]

Skip to content
CVE-2022-0144 - high detected in shelljs['0.3.0'] #94
@github-actions

Description

@github-actions

Package Name: shelljs
Package Version: ['0.3.0']
Package Manager: npm
Target File: package.json
Severity Level: high
Snyk ID: SNYK-JS-SHELLJS-2332187
Snyk CVE: CVE-2022-0144
Snyk CWE: CWE-269
Link to issue in Snyk: https://app.snyk.io/org/cse_snyk-playground/project/3af44f44-d085-4709-afa8-a4bc1c966aa1

Snyk Description: ## Overview
shelljs is a wrapper for the Unix shell commands for Node.js.

Affected versions of this package are vulnerable to Improper Privilege Management. When ShellJS is used to create shell scripts which may be running as root, users with low-level privileges on the system can leak sensitive information such as passwords (depending on implementation) from the standard output of the privileged process OR shutdown privileged ShellJS processes via the exec function when triggering EACCESS errors.

Note: Thi only impacts the synchronous version of shell.exec().

Remediation

Upgrade shelljs to version 0.8.5 or higher.

References


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0