GHSA-9hqj-38j2-5jgm – ascii-art
Package
Manager: npm
Name: ascii-art
Vulnerable Version: >=0 <=1.4.2
Severity
Level: Low
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H/RL:U/RC:C
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
EPSS: N/A pctlN/A
Details
Command Injection in ascii-art 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. Example Proof of concept: `ascii-art preview 'doom"; touch /tmp/malicious; echo "'` Given 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`. ## Recommendation Update to version 1.4.4 or later.
Metadata
Created: 2020-09-01T21:19:23Z
Modified: 2020-08-31T18:33:35Z
Source: MANUAL
CWE IDs: ["CWE-77"]
Alternative ID: N/A
Finding: F422
Auto approve: 1