GitHub Advisoryadvisory · npm
GHSA-5f4x-hwv2-w9w2 rejetto HFS vulnerable to OS Command Execution by remote authenticated users
HIGH
Official page ↗
- Aliases
- CVE-2024-39943
- Ecosystem
- npm
- Packages
- hfs
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-284, CWE-78
- Reviewed
- 2024-07-08
Affected packages
• npm hfs: < 0.52.10 → fixed in 0.52.10
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).
Related
Alias · CVE (1)
- CVE-2024-39943 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… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-39943 advisory
- https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d web
- https://github.com/rejetto/hfs package
- https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 web
- https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads web