Medium, CVSS 5.8npmAmendedPublished
Fonoster is vulnerable to directory traversal
CVE-2024-43035 · GHSA-9fv2-c7v6-p45w
- Affected
- npm @fonoster/voice >= 0.5.5, < 0.6.1
- Fixed in
- 0.6.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.6.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.