Vulnerabilities in pkg:npm/@fonoster/voice
PACKAGECVE-2024-43035 is a MODERATE (CVSS 5.8) path traversal vulnerability (CWE-24: Path Traversal: '../filedir') affecting @fonoster/voice libraries in the npm ecosystem. The issue involves fonoster is vulnerable to directory traversal. Remediation is available by upgrading affected packages to version 0.6.1.
pkg:npm/@fonoster/voice
Vulnerability advisories affecting package pkg:npm/@fonoster/voice. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-9fv2-c7v6-p45w | CVE-2024-43035 | MODERATE | Fonoster is vulnerable to directory traversal |
CVE-2024-43035 at a Glance
Security Impact
CVSS: 5.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N).
How to Fix CVE-2024-43035
To remediate this vulnerability, upgrade all affected @fonoster/voice dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @fonoster/voice@0.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @fonoster/voice
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-43035, inspect your project dependencies using npm:
npm ls @fonoster/voice
Analyze the terminal output to locate any version of @fonoster/voice in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), your application is affected.
Note: The npm ls @fonoster/voice command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-24: Path Traversal: '../filedir', where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory. In @fonoster/voice, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-43035 Affected @fonoster/voice Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@fonoster/voice
|
npm |
≥ 0.5.5
< 0.6.1
|
0.6.1
|
References
Frequently Asked Questions
What is CVE-2024-43035?
Which @fonoster/voice versions are affected?
What version fixes CVE-2024-43035?
Is @fonoster/voice affected?
What is the CVSS score of CVE-2024-43035?
What CWE is associated with CVE-2024-43035?
How can I check npm dependencies for CVE-2024-43035?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9fv2-c7v6-p45w",
"modified" : "2026-03-06T22:46:29Z",
"published" : "2026-03-05T21:30:48Z",
"aliases" : [ "CVE-2024-43035" ],
"summary" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@fonoster/voice"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.5.5"
}, {
"fixed" : "0.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-43035"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/fonoster/fonoster"
}, {
"type" : "WEB",
"url" : "https://github.com/fonoster/fonoster/blob/4a1438d9dedeaf7b2a5b6a50d5e233f994e2b2cf/mods/voice/src/utils.ts#L66-L70"
}, {
"type" : "WEB",
"url" : "https://zeropath.com/blog/fonoster-voiceserver-lfi-vulnerability"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-24" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-06T22:46:28Z",
"nvd_published_at" : "2026-03-05T20:16:09Z"
}
}