9.9critical
rejetto HFS vulnerable to OS Command Execution by remote authenticated users
- Severity
- 9.9critical CVSS:3.1 by mitre
- Exploit likelihood
- 37.5% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-5f4x-hwv2-w9w2
Description
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| rejetto http_file_server | before 0.52.10 | CVE List, NVD |
| hfs (npm) | before 0.52.10 | GitHub Advisory Database |
All scores
| mitre | 9.9critical CVSS:3.1 | CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N |
| GitHub | 9.9high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | high 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 | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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).
NVD (es)
rejetto HFS (también conocido como servidor de archivos HTTP) 3 anterior a 0.52.10 en Linux, UNIX y macOS permite la ejecución de comandos del sistema operativo por parte de usuarios remotos autenticados (si tienen permisos de carga). Esto ocurre porque se usa un shell para ejecutar df (es decir, con execSync en lugar de spawnSync en child_process en Node.js).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39943 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5f4x-hwv2-w9w2 changed 2024-11-18 | CC-BY-4.0 |
| NVD | CVE-2024-39943 changed 2026-06-17 | Public domain |