medium5.8
CVE-2024-43035
Fonoster is vulnerable to directory traversal
Impact
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 | Fixed in |
|---|---|---|---|
| npm | @fonoster/voice | >= 0.5.5, < 0.6.1 | 0.6.1 |
Affected products
| Product | Affected versions |
|---|---|
| Fonoster 0.5.5 | before 0.6.1 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/fonoster/fonoster/blob/4a1438d9dedeaf7b2a5b6a50d5e233f994e2b2cf/mods/voice/src/utils.ts#L66-L70
- https://zeropath.com/blog/fonoster-voiceserver-lfi-vulnerability
- https://github.com/advisories/GHSA-9fv2-c7v6-p45w
- https://nvd.nist.gov/vuln/detail/CVE-2024-43035