{"id":"CVE-2022-29080","aliases":["EUVD-2022-1781","GHSA-m7xq-8jp8-rj2c"],"status":"published","title":"Command injection in npm-dependency-versions","description":"The npm-dependency-versions package through 0.3.0 for Node.js allows command injection if an attacker is able to call dependencyVersions with a JSON object in which pkgs is a key, and there are shell metacharacters in a value.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02183,"percentile":0.82529,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77","CWE-78"],"published":"2022-04-12T04:45:34Z","modified":"2026-06-17T04:39:32Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"npm-dependency-versions","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.3.0"}]}]},{"source":"osv","ecosystem":"npm","package":"npm-dependency-versions","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.3.0"}]}]}],"products":[{"vendor":"npm-dependency-versions_project","product":"npm-dependency-versions"}],"references":[{"url":"https://github.com/barneycarroll/npm-dependency-versions/issues/6","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"https://www.npmjs.com/package/npm-dependency-versions","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29080","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-m7xq-8jp8-rj2c"},{"url":"https://github.com/barneycarroll/npm-dependency-versions","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-29080","description":"The npm-dependency-versions package through 0.3.0 for Node.js allows command injection if an attacker is able to call dependencyVersions with a JSON object in which pkgs is a key, and there are shell metacharacters in a value.","status":"published","published":"2022-04-12T04:45:34Z","modified":"2024-08-03T06:10:59.38Z","updated_at":"2026-11-02T14:34:36.270817Z"}],"euvd":[{"id":"EUVD-2022-1781","description":"The npm-dependency-versions package through 0.3.0 for Node.js allows command injection if an attacker is able to call dependencyVersions with a JSON object in which pkgs is a key, and there are shell metacharacters in a value.","status":"published","published":"2022-04-12T04:45:34Z","modified":"2024-08-03T06:10:59Z","updated_at":"2026-11-03T03:25:39.28463Z"}],"ghsa":[{"id":"GHSA-m7xq-8jp8-rj2c","title":"Command injection in npm-dependency-versions","description":"The npm-dependency-versions package through 0.3.0 for Node.js allows command injection if an attacker is able to call dependencyVersions with a JSON object in which pkgs is a key, and there are shell metacharacters in a value.","status":"published","published":"2022-04-13T00:00:33Z","modified":"2023-01-27T05:02:04Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:17.04874Z"}],"nvd":[{"id":"CVE-2022-29080","description":"The npm-dependency-versions package through 0.3.0 for Node.js allows command injection if an attacker is able to call dependencyVersions with a JSON object in which pkgs is a key, and there are shell metacharacters in a value.","status":"published","published":"2022-04-12T05:15:07.447Z","modified":"2026-06-17T04:39:32.563Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:07:15.414503Z"}],"osv":[{"id":"GHSA-m7xq-8jp8-rj2c","title":"Command injection in npm-dependency-versions","description":"The npm-dependency-versions package through 0.3.0 for Node.js allows command injection if an attacker is able to call dependencyVersions with a JSON object in which pkgs is a key, and there are shell metacharacters in a value.","status":"published","published":"2022-04-13T00:00:33Z","modified":"2023-11-08T04:09:08.005439Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:51.463834Z"}]}}
