Vulnerability DatabaseGHSA-64g7-mvw6-v9qj

GHSA-64g7-mvw6-v9qj
JavaScript vulnerability analysis and mitigation

Overview

A moderate severity vulnerability (GHSA-64g7-mvw6-v9qj, CVE-2022-0144) was discovered in shelljs npm package affecting versions prior to 0.8.5. The vulnerability was published on January 14, 2022, and is classified as an Improper Privilege Management issue (CWE-269). The vulnerability specifically affects the synchronous version of shell.exec() function in shelljs package (GitHub Advisory).

Technical details

The vulnerability is related to improper privilege management in the synchronous version of shell.exec() function, where the output may be visible to other users on the same system. This issue specifically manifests in multi-user environments such as Mac, Linux, or WSL, and becomes particularly concerning when shell.exec() is executed with root privileges. Notably, other shelljs functions, including the asynchronous version of shell.exec(), are not affected by this vulnerability (GitHub Advisory).

Impact

The primary impact of this vulnerability is that output from the synchronous version of shell.exec() could be exposed to other users on the same system, potentially leading to information disclosure. This is particularly concerning in shared environments or when the function is executed with elevated privileges (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in shelljs version 0.8.5. The recommended action is to upgrade to this version or later. No alternative workarounds have been provided, making the upgrade the only secure solution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management