{"url":"http://public2.vulnerablecode.io/api/packages/69649?format=json","purl":"pkg:npm/dectalk-tts@1.0.1","type":"npm","namespace":"","name":"dectalk-tts","version":"1.0.1","qualifiers":{},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"1.0.1","latest_non_vulnerable_version":"1.0.1","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/47402?format=json","vulnerability_id":"VCID-qq39-3cp2-bbfx","summary":"dectalk-tts Uses Unencrypted HTTP Request\nIn `dectalk-tts@1.0.0`, network requests to the third-party API are sent over HTTP, which is unencrypted. Unencrypted traffic can be easily intercepted and modified by attackers. Anyone who uses the package could be the victim of a [man-in-the-middle (MITM)](https://en.wikipedia.org/wiki/Man-in-the-middle_attack) attack.\n\n<ins>Theft</ins>\n\nBecause `dectalk-tts` is a text-to-speech package, user requests are expected to only contain natural language. The package [README](https://github.com/JstnMcBrd/dectalk-tts/blob/main/README.md) warns that user input is sent to a third-party API, so users should not send sensitive information regardless.\n\nBut if users ignore the warnings and send sensitive information anyway, that information could be stolen by attackers.\n\n<ins>Modification</ins>\n\nAttackers could manipulate requests to the API. However, the worst a modified request could do is return an incorrect audio file or bad request rejection.\n\nAttackers could also manipulate responses from the API, returning malicious output to the user. Output is expected to be a wav-encoded buffer, which users will likely save to a file. This could be a dangerous entrypoint to the user's filesystem.","references":[{"reference_url":"https://github.com/JstnMcBrd/dectalk-tts","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/JstnMcBrd/dectalk-tts"},{"reference_url":"https://github.com/JstnMcBrd/dectalk-tts/blob/b3e92156cbb699218ac9b9c7d8979abd0e635767/src/index.ts#L18","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/JstnMcBrd/dectalk-tts/blob/b3e92156cbb699218ac9b9c7d8979abd0e635767/src/index.ts#L18"},{"reference_url":"https://github.com/JstnMcBrd/dectalk-tts/commit/3600d8ac156f27da553ac4ead46d16989a350105","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/JstnMcBrd/dectalk-tts/commit/3600d8ac156f27da553ac4ead46d16989a350105"},{"reference_url":"https://github.com/JstnMcBrd/dectalk-tts/issues/3","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/JstnMcBrd/dectalk-tts/issues/3"},{"reference_url":"https://github.com/JstnMcBrd/dectalk-tts/pull/4","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/JstnMcBrd/dectalk-tts/pull/4"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31206","reference_id":"CVE-2024-31206","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31206"},{"reference_url":"https://github.com/advisories/GHSA-6cf6-8hvr-r68w","reference_id":"GHSA-6cf6-8hvr-r68w","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-6cf6-8hvr-r68w"},{"reference_url":"https://github.com/JstnMcBrd/dectalk-tts/security/advisories/GHSA-6cf6-8hvr-r68w","reference_id":"GHSA-6cf6-8hvr-r68w","reference_type":"","scores":[],"url":"https://github.com/JstnMcBrd/dectalk-tts/security/advisories/GHSA-6cf6-8hvr-r68w"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/69649?format=json","purl":"pkg:npm/dectalk-tts@1.0.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/dectalk-tts@1.0.1"}],"aliases":["CVE-2024-31206","GHSA-6cf6-8hvr-r68w"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-qq39-3cp2-bbfx"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/dectalk-tts@1.0.1"}