OS Command Injection Affecting tts-api package, versions <2.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-TTSAPI-6132377
  • published20 Dec 2023
  • disclosed19 Dec 2023
  • creditUnknown

Introduced: 19 Dec 2023

CVE-2019-25158  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade tts-api to version 2.2.0 or higher.

Overview

tts-api is a Text to speech REST API for multiple TTS engines

Affected versions of this package are vulnerable to OS Command Injection via the onSpeechDone function of the app.js file. An attacker can execute arbitrary OS commands by manipulating the input to the function.

CVSS Scores

version 3.1