GHSA-9fv2-c7v6-p45w
Fonoster is vulnerable to directory traversal
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @fonoster/voice | >= 0.5.5, < 0.6.1 | 0.6.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
Fonoster 0.5.5 before 0.6.1 allows ../ directory traversal to read arbitrary files via the /sounds/:file or /tts/:file VoiceServer endpoint. This occurs in serveFiles in mods/voice/src/utils.ts. NOTE: serveFiles exists in 0.5.5 but not in the next release, 0.6.1.
References
External links from the advisory. They lead to third-party sites.