CVE-2024-39943
HIGH 8.8CVSS 3.1rejetto HFS vulnerable to OS Command Execution by remote authenticated users
rejetto HFS (aka HTTP File Server) 3 before 0.52.10 on Linux, UNIX, and macOS allows OS command execution by remote authenticated users (if they have Upload permissions). This occurs because a shell is used to execute df (i.e., with execSync instead of spawnSync in child_process in Node.js).
- Published
- 4 Jul 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-284CWE-78
- Also known as
- GHSA-5f4x-hwv2-w9w2
- Sources
- NVDJSONOSV GHSA-5f4x-hwv2-w9w2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rejetto | http_file_servercpe:2.3:a:rejetto:http_file_server:*:*:*:*:*:*:*:* |
< 0.52.10 | 0.52.10 |
| OSV | npm | hfs | < 0.52.10 | 0.52.10 |
References
- https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d · Patch, WEB
- https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 · Patch, WEB
- https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39943 · ADVISORY
- https://github.com/rejetto/hfs · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 4 Jul 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Jul 2024)