Lucene search

K
nodejsAnonymousNODEJS:1621
HistoryFeb 23, 2021 - 2:24 a.m.

Command Injection

2021-02-2302:24:40
Anonymous
www.npmjs.com
197

0.004 Low

EPSS

Percentile

73.4%

Overview

There is a command injection vulnerability in affected versions of total.js. The issue occurs in the image.pipe and image.stream functions. The type parameter is used to build the command that is then executed using child_process.spawn. The issue occurs because child_process.spawn is called with the option shell set to true and because the type parameter is not properly sanitized.

Recommendation

Update to version 3.4.7 or later

References

CPENameOperatorVersion
total.jslt3.4.7

0.004 Low

EPSS

Percentile

73.4%