GitHub Advisory Database
GHSA-9fv2-c7v6-p45w
Fonoster is vulnerable to directory traversal
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | @fonoster/voice | From 0.5.5 before 0.6.1 (fixed in 0.6.1) |