{"id":"GHSA-5f4x-hwv2-w9w2","summary":"rejetto HFS vulnerable to OS Command Execution by remote authenticated users","details":"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).","aliases":["CVE-2024-39943"],"modified":"2024-11-18T16:26:49Z","published":"2024-07-05T00:31:07Z","database_specific":{"nvd_published_at":"2024-07-04T23:15:09Z","cwe_ids":["CWE-284","CWE-78"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-07-08T18:38:39Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39943"},{"type":"WEB","url":"https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d"},{"type":"PACKAGE","url":"https://github.com/rejetto/hfs"},{"type":"WEB","url":"https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10"},{"type":"WEB","url":"https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads"}],"affected":[{"package":{"name":"hfs","ecosystem":"npm","purl":"pkg:npm/hfs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.52.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-5f4x-hwv2-w9w2/GHSA-5f4x-hwv2-w9w2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}