Skip to content
Fencer Intel
critical 9.9

CVE-2024-39943 in the critical feed json

rejetto HFS vulnerable to OS Command Execution by remote authenticated users

published 2y ago modified 4mo ago also GHSA-5f4x-hwv2-w9w2 , EUVD-2024-2262

cvss
9.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
39.5%
EPSS 39.5% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

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

Patch / fix

  • npm hfs 0.52.10
  • rejetto http_file_server 0.52.10

Is CVE-2024-39943 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
2y ago

Exploit prediction

39.47% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 9.9 CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N
CNA 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm hfs
<0.52.10
0.52.10

Affected products

  • rejetto http_file_server

Classification

Weakness
  • CWE-284 Improper Access Control
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.