NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

highCVSS 4.0 8.7 · 3.1 9.9GHSA-5f4x-hwv2-w9w2

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 childprocess in Node.js).

Published Jul 5, 2024 · Updated Nov 18, 2024

Affected packages

hfs

Ecosystem
npm
Affected
< 0.52.10
Fixed in
0.52.10
Check
npm ls hfs

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries