{"id":"GHSA-9hqj-38j2-5jgm","aliases":[],"url":"https://o3.security/vulnerability/GHSA-9hqj-38j2-5jgm","summary":"Command Injection in ascii-art","details":"Versions of `ascii-art` before 1.4.4 are vulnerable to command injection. This is exploitable when user input is passed into the argument of the `ascii-art preview` command. \n\n\nExample Proof of concept:\n`ascii-art preview 'doom\"; touch /tmp/malicious; echo \"'`\n\nGiven that the input is passed on the command line and none of the api methods are vulnerable to this,  the likely exploitation vector is when the ascii-art comment is being called programmatically using something like `execFile`.\n\n\n## Recommendation\n\nUpdate to version 1.4.4 or later.","published":"2020-09-01T21:19:23Z","modified":"2020-08-31T18:33:35Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"ascii-art","fixedVersion":"1.4.4"}],"fix":null,"references":[{"type":"WEB","url":"https://hackerone.com/reports/390631"},{"type":"WEB","url":"https://github.com/nodejs/security-wg/blob/master/vuln/npm/471.json"},{"type":"WEB","url":"https://www.npmjs.com/advisories/727"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2020-08-31T18:33:35Z"}}