Skip to content

CVE-2024-39943 rejetto HFS vulnerable to OS Command Execution by remote authenticated users

HighCVSS 8.8 EPSS 37.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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).

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm hfs(npm) < 0.52.10 0.52.10 Fixed
rejetto http file server < 0.52.10 0.52.10 Fixed

Affected products

ProductAffected versionsFixed in
npm hfs(npm) < 0.52.10 0.52.10
rejetto http file server < 0.52.10 0.52.10

References