Skip to content

Potential Command Injection in printer

Critical severity GitHub Reviewed Published Nov 28, 2017 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm printer (npm)

Affected versions

<= 0.0.1

Patched versions

0.0.2

Description

Versions 0.0.1 and earlier of printer are affected by a command injection vulnerability resulting from a failure to sanitize command arguments properly in the printDirect() function.

Recommendation

Update to version 0.0.2 or later.

References

Published to the GitHub Advisory Database Nov 28, 2017
Reviewed Jun 16, 2020
Last updated Jan 9, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2014-3741

GHSA ID

GHSA-5c8j-xr24-2665

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.