Read the docs
TI-2020-19483 Aliases GHSA-9hqj-38j2-5jgm

Command Injection in ascii-art

Priority LOW 38CWE-77Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Code execution
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-77.

Summary

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.

Why it matters now

Fix Fixed ascii-art (npm): 1.4.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ascii-art (npm)before 1.4.41.4.4Patch availableGHSA-9hqj-38j2-5jgm
  • ascii-art (npm) Vendor— Affected before 1.4.4 Fixed in 1.4.4 Patch available GHSA-9hqj-38j2-5jgm

Remediation

  • Fix · GHSA-9hqj-38j2-5jgm ascii-art (npm) Fixed in 1.4.4 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-9hqj-38j2-5jgm

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences