{"id":"CVE-2024-39943","aliases":["EUVD-2024-2262","GHSA-5f4x-hwv2-w9w2"],"status":"published","title":"rejetto HFS vulnerable to OS Command Execution by remote authenticated users","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).","severity":{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.39474,"percentile":0.98632,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-284","CWE-78"],"published":"2024-07-04T00:00:00Z","modified":"2026-10-28T02:30:49Z","exploits":[{"source":"pocgithub","id":"Heyholiday067/CVE-2024-39943-Poc","title":"Heyholiday067/CVE-2024-39943-Poc","date":"2024-07-05","url":"https://github.com/Heyholiday067/CVE-2024-39943-Poc"},{"source":"pocgithub","id":"JenmrR/Node.js-CVE-2024-39943","title":"JenmrR/Node.js-CVE-2024-39943","date":"2025-04-19","url":"https://github.com/JenmrR/Node.js-CVE-2024-39943"}],"fixes":[{"ecosystem":"npm","package":"hfs","fixed_in":["0.52.10"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"hfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.52.10"}]}]},{"source":"osv","ecosystem":"npm","package":"hfs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.52.10"}]}]}],"products":[{"vendor":"rejetto","product":"http_file_server"}],"references":[{"url":"https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads","tags":["x_transferred","Product","web"]},{"url":"https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10","tags":["x_transferred","Patch","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39943","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5f4x-hwv2-w9w2"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39943.json","tags":["advisory"]},{"url":"https://github.com/rejetto/hfs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-39943","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).","status":"published","published":"2024-07-04T00:00:00Z","modified":"2024-08-02T04:33:11.602Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N","level":"critical","assessor":"cna"}],"cwes":["CWE-284"],"updated_at":"2026-11-02T14:34:19.28149Z"}],"euvd":[{"id":"EUVD-2024-2262","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).","status":"published","published":"2024-07-04T00:00:00Z","modified":"2024-08-02T04:33:11Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N","level":"critical"}],"updated_at":"2026-11-03T03:50:17.469599Z"}],"ghsa":[{"id":"GHSA-5f4x-hwv2-w9w2","title":"rejetto HFS vulnerable to OS Command Execution by remote authenticated users","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).","status":"published","published":"2024-07-05T00:31:07Z","modified":"2024-11-18T16:26:50Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78","CWE-284"],"updated_at":"2026-11-02T14:38:20.012356Z"}],"nvd":[{"id":"CVE-2024-39943","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).","status":"published","published":"2024-07-04T23:15:09.94Z","modified":"2026-06-17T07:43:04.153Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-78","CWE-284"],"updated_at":"2026-11-02T14:10:10.545705Z"}],"osv":[{"id":"CVE-2024-39943","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).","status":"published","published":"2024-07-04T00:00:00Z","modified":"2026-10-28T02:30:49.613867288Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N","level":"critical"}],"updated_at":"2026-11-02T15:44:41.618074Z"},{"id":"GHSA-5f4x-hwv2-w9w2","title":"rejetto HFS vulnerable to OS Command Execution by remote authenticated users","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).","status":"published","published":"2024-07-05T00:31:07Z","modified":"2024-11-18T16:26:49Z","cvss":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-284","CWE-78"],"updated_at":"2026-11-02T15:46:38.213481Z"}]}}
