{"id":"CVE-2024-39943","aliases":["CVE-2024-39943","GHSA-5f4x-hwv2-w9w2"],"related":[],"kind":"vulnerability","state":"published","title":"rejetto HFS vulnerable to OS Command Execution by remote authenticated users","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"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).","source":"nvd"}],"published":"2024-07-04T00:00:00.000Z","modified":"2026-06-17T07:43:04.153Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-78","CWE-284"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.52.10","status":"affected"}],"vendor":"rejetto","product":"http_file_server","cpe":"cpe:2.3:a:rejetto:http_file_server:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.52.10"}],"ecosystem":"npm","package":"hfs","purl":"pkg:npm/hfs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.52.10"}],"vendor":"rejetto","product":"http_file_server","cpe":"cpe:2.3:a:rejetto:http_file_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads","tags":["product","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39943","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/rejetto/hfs","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-07-12T03:55:26.030Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-39943","url":"https://www.cve.org/CVERecord?id=CVE-2024-39943","licence":"CVE Terms of Use","modified":"2024-08-02T04:33:11.602Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5f4x-hwv2-w9w2","url":"https://github.com/advisories/GHSA-5f4x-hwv2-w9w2","licence":"CC-BY-4.0","modified":"2024-11-18T16:26:49.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-39943","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39943","licence":"Public domain","modified":"2026-06-17T07:43:04.153Z"}],"updatedAt":"2026-11-25T22:58:42.513Z","epss":{"score":0.37493,"percentile":0.98562,"date":"2026-12-01T12:00:22.000Z"}}