{"id":"CVE-2022-0144","aliases":["DEBIAN-CVE-2022-0144","GHSA-4rq4-32rv-6wp6","UBUNTU-CVE-2022-0144"],"summary":"Improper Privilege Management in shelljs/shelljs","published_at":"2021-12-26T00:00:00Z","modified_at":"2026-11-18T06:00:07.315421Z","products":[],"rating":{"severity":"high","score":7.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","attack_path":"local","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004600000102072954,"percentile":0.4058600068092346,"date":"2026-11-19T00:00:00Z"},"priority":6.6,"details":"shelljs is vulnerable to Improper Privilege Management","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"shelljs/shelljs/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5"}]}],"fixed":["0.8.5"],"provider":"cvelistv5","source":"CVE-2022-0144","relation":"self"},{"ecosystem":"Debian:12","package":"node-shelljs","purl":"pkg:deb/debian/node-shelljs?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5+~cs0.8.10-1"}]}],"fixed":["0.8.5+~cs0.8.10-1"],"provider":"osv","source":"DEBIAN-CVE-2022-0144","relation":"self"},{"ecosystem":"Debian:13","package":"node-shelljs","purl":"pkg:deb/debian/node-shelljs?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5+~cs0.8.10-1"}]}],"fixed":["0.8.5+~cs0.8.10-1"],"provider":"osv","source":"DEBIAN-CVE-2022-0144","relation":"self"},{"ecosystem":"Debian:14","package":"node-shelljs","purl":"pkg:deb/debian/node-shelljs?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5+~cs0.8.10-1"}]}],"fixed":["0.8.5+~cs0.8.10-1"],"provider":"osv","source":"DEBIAN-CVE-2022-0144","relation":"self"},{"ecosystem":"NVD","package":"shelljs_project:shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5"}]}],"fixed":["0.8.5"],"provider":"nvd","source":"CVE-2022-0144","relation":"self"},{"ecosystem":"TuxCare:npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0-tuxcare.0"},{"fixed":"0.3.0-tuxcare.1"}]}],"versions":["0.3.0"],"fixed":["0.3.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1775089657","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.4-tuxcare.0"},{"fixed":"0.1.4-tuxcare.1"}]}],"versions":["0.1.4"],"fixed":["0.1.4-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1775089658","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.2-tuxcare.0"},{"fixed":"0.8.2-tuxcare.1"}]}],"versions":["0.8.2"],"fixed":["0.8.2-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1784682961","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.4-tuxcare.0"},{"fixed":"0.8.4-tuxcare.1"}]}],"versions":["0.8.4"],"fixed":["0.8.4-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1785291224","relation":"upstream"},{"ecosystem":"Ubuntu:18.04:LTS","package":"node-shelljs","purl":"pkg:deb/ubuntu/node-shelljs@0.7.5-1?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.5-1"],"provider":"osv","source":"UBUNTU-CVE-2022-0144","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"node-shelljs","purl":"pkg:deb/ubuntu/node-shelljs@0.8.3-1?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.3-1"],"provider":"osv","source":"UBUNTU-CVE-2022-0144","relation":"self"},{"ecosystem":"npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.5"}]}],"fixed":["0.8.5"],"provider":"osv","source":"GHSA-4rq4-32rv-6wp6","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console","rhacm2/search-ui-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-0144"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/kui-web-terminal-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-0144"},{"vendor":"Red Hat","product":"Red Hat Virtualization 4","cpe":"cpe:/a:redhat:rhev_manager:4","status":"not_affected","packages":["ovirt-engine-ui-extensions","ovirt-web-ui"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-0144"}],"records":[{"provider":"osv","source_id":"CLSA-2026-1775089657","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1775089657","published_at":"2026-08-04T14:52:19Z","modified_at":"2026-10-15T09:47:49.406741Z","summary":"TuxCare security update for shelljs (2 CVEs)","details":"TuxCare rebuilt shelljs to address 2 CVEs. Fixed in 0.3.0-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0-tuxcare.0"},{"fixed":"0.3.0-tuxcare.1"}]}],"versions":["0.3.0"],"fixed":["0.3.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1775089657","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1775089658","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1775089658","published_at":"2026-08-04T14:52:20Z","modified_at":"2026-10-15T09:47:49.352192Z","summary":"TuxCare security update for shelljs (2 CVEs)","details":"TuxCare rebuilt shelljs to address 2 CVEs. Fixed in 0.1.4-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.4-tuxcare.0"},{"fixed":"0.1.4-tuxcare.1"}]}],"versions":["0.1.4"],"fixed":["0.1.4-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1775089658","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1784682961","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1784682961","published_at":"2026-08-04T14:52:46Z","modified_at":"2026-10-15T09:47:54.079447Z","summary":"TuxCare security update for shelljs (2 CVEs)","details":"TuxCare rebuilt shelljs to address 2 CVEs. Fixed in 0.8.2-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.2-tuxcare.0"},{"fixed":"0.8.2-tuxcare.1"}]}],"versions":["0.8.2"],"fixed":["0.8.2-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1784682961","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1785291224","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1785291224","published_at":"2026-08-04T14:52:50Z","modified_at":"2026-10-15T09:47:37.698204Z","summary":"TuxCare security update for shelljs (2 CVEs)","details":"TuxCare rebuilt shelljs to address 2 CVEs. Fixed in 0.8.4-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.8.4-tuxcare.0"},{"fixed":"0.8.4-tuxcare.1"}]}],"versions":["0.8.4"],"fixed":["0.8.4-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1785291224","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2022-0144","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-0144","license":"CC-BY-4.0","published_at":"2022-01-11T06:45:10Z","modified_at":"2026-10-08T21:24:19.74Z","summary":"Improper Privilege Management in shelljs/shelljs","details":"shelljs is vulnerable to Improper Privilege Management","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"CVE-2022-0144"}],"affected":[{"ecosystem":"CVE","package":"shelljs/shelljs/shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5"}]}],"fixed":["0.8.5"],"provider":"cvelistv5","source":"CVE-2022-0144","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c"},{"type":"WEB","url":"https://github.com/shelljs/shelljs/commit/d919d22dd6de385edaa9d90313075a77f74b338c"}]},{"provider":"nvd","source_id":"CVE-2022-0144","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0144","severity":[],"affected":[{"ecosystem":"NVD","package":"shelljs_project:shelljs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5"}]}],"fixed":["0.8.5"],"provider":"nvd","source":"CVE-2022-0144","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2022-0144","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2022-0144","published_at":"2022-01-11T07:15:07.26Z","modified_at":"2026-11-18T06:00:07.315421Z","details":"shelljs is vulnerable to Improper Privilege Management","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"DEBIAN-CVE-2022-0144"}],"affected":[{"ecosystem":"Debian:12","package":"node-shelljs","purl":"pkg:deb/debian/node-shelljs?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5+~cs0.8.10-1"}]}],"fixed":["0.8.5+~cs0.8.10-1"],"provider":"osv","source":"DEBIAN-CVE-2022-0144","relation":"self"},{"ecosystem":"Debian:13","package":"node-shelljs","purl":"pkg:deb/debian/node-shelljs?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5+~cs0.8.10-1"}]}],"fixed":["0.8.5+~cs0.8.10-1"],"provider":"osv","source":"DEBIAN-CVE-2022-0144","relation":"self"},{"ecosystem":"Debian:14","package":"node-shelljs","purl":"pkg:deb/debian/node-shelljs?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.5+~cs0.8.10-1"}]}],"fixed":["0.8.5+~cs0.8.10-1"],"provider":"osv","source":"DEBIAN-CVE-2022-0144","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-0144"}]},{"provider":"osv","source_id":"GHSA-4rq4-32rv-6wp6","relation":"self","url":"https://osv.dev/vulnerability/GHSA-4rq4-32rv-6wp6","license":"CC-BY-4.0","published_at":"2022-01-21T23:37:28Z","modified_at":"2023-11-08T04:07:28.854274Z","summary":"Improper Privilege Management in shelljs","details":"shelljs is vulnerable to Improper Privilege Management","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"GHSA-4rq4-32rv-6wp6"}],"affected":[{"ecosystem":"npm","package":"shelljs","purl":"pkg:npm/shelljs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.5"}]}],"fixed":["0.8.5"],"provider":"osv","source":"GHSA-4rq4-32rv-6wp6","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0144"},{"type":"WEB","url":"https://github.com/shelljs/shelljs/commit/d919d22dd6de385edaa9d90313075a77f74b338c"},{"type":"PACKAGE","url":"https://github.com/shelljs/shelljs"},{"type":"WEB","url":"https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2022-0144","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2022-0144","license":"CC-BY-SA-4.0","published_at":"2022-01-11T07:15:00Z","modified_at":"2025-10-24T04:52:47Z","details":"shelljs is vulnerable to Improper Privilege Management","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"UBUNTU-CVE-2022-0144"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"UBUNTU-CVE-2022-0144"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2022-0144"}],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"node-shelljs","purl":"pkg:deb/ubuntu/node-shelljs@0.7.5-1?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.5-1"],"provider":"osv","source":"UBUNTU-CVE-2022-0144","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"node-shelljs","purl":"pkg:deb/ubuntu/node-shelljs@0.8.3-1?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.3-1"],"provider":"osv","source":"UBUNTU-CVE-2022-0144","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0144"},{"type":"REPORT","url":"https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c/"},{"type":"REPORT","url":"https://github.com/shelljs/shelljs/issues/1058"},{"type":"REPORT","url":"https://github.com/shelljs/shelljs/commit/d919d22dd6de385edaa9d90313075a77f74b338c"},{"type":"REPORT","url":"https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-0144"}]},{"provider":"redhat-vex","source_id":"CVE-2022-0144","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2022-0144","license":"CC-BY-4.0","published_at":"2021-12-26T00:00:00Z","modified_at":"2026-10-08T22:20:26Z","summary":"nodejs-shelljs: improper privilege management","details":"A flaw was found in the ShellJS library when the scripts used the exec function. Local users on the filesystem could take advantage of this as they can read the stdout of the ShellJS process. This issue discloses sensitive information, leading to privilege escalation. This flaw allows an attacker to craft stdout files, which leads to crashing the ShellJS scripts running with privileges.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"CVE-2022-0144"},{"type":"Red Hat","score":"Moderate","source":"CVE-2022-0144"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console","rhacm2/search-ui-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2022-0144"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/kui-web-terminal-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2022-0144"},{"vendor":"Red Hat","product":"Red Hat Virtualization 4","cpe":"cpe:/a:redhat:rhev_manager:4","status":"not_affected","packages":["ovirt-engine-ui-extensions","ovirt-web-ui"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2022-0144"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-0144.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-0144"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043535"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2022-0144"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0144"},{"type":"WEB","url":"https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c/"}]}],"references":[{"type":"WEB","url":"https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c"},{"type":"WEB","url":"https://github.com/shelljs/shelljs/commit/d919d22dd6de385edaa9d90313075a77f74b338c"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-0144"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0144"},{"type":"PACKAGE","url":"https://github.com/shelljs/shelljs"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0144"},{"type":"REPORT","url":"https://huntr.dev/bounties/50996581-c08e-4eed-a90e-c0bac082679c/"},{"type":"REPORT","url":"https://github.com/shelljs/shelljs/issues/1058"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-0144"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-0144.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-0144"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2043535"}],"sources":[{"provider":"osv","source_id":"CLSA-2026-1775089657","url":"https://osv.dev/vulnerability/CLSA-2026-1775089657","modified_at":"2026-10-15T09:47:49.406741Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1775089658","url":"https://osv.dev/vulnerability/CLSA-2026-1775089658","modified_at":"2026-10-15T09:47:49.352192Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1784682961","url":"https://osv.dev/vulnerability/CLSA-2026-1784682961","modified_at":"2026-10-15T09:47:54.079447Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1785291224","url":"https://osv.dev/vulnerability/CLSA-2026-1785291224","modified_at":"2026-10-15T09:47:37.698204Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2022-0144","url":"https://www.cve.org/CVERecord?id=CVE-2022-0144","license":"CC-BY-4.0","modified_at":"2026-10-08T21:24:19.74Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-0144","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0144","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2022-0144","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2022-0144","modified_at":"2026-11-18T06:00:07.315421Z","relation":"self"},{"provider":"osv","source_id":"GHSA-4rq4-32rv-6wp6","url":"https://osv.dev/vulnerability/GHSA-4rq4-32rv-6wp6","license":"CC-BY-4.0","modified_at":"2023-11-08T04:07:28.854274Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2022-0144","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2022-0144","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:52:47Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2022-0144","url":"https://access.redhat.com/security/cve/CVE-2022-0144","license":"CC-BY-4.0","modified_at":"2026-10-08T22:20:26Z","relation":"self"}]}
