Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-39943

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-39943
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:39 UTC · Revision 1

Source evidence

CVE-2024-39943

core-osv · Original source

Published 4 Jul 2024, 00:00 UTC

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

osv:CVE-2024-39943
Complete source record
{
  "id": "e5d690cfdfd0854986460d36848b481ca23e1972d5df6058db06fa86df349150",
  "url": "https://osv.dev/vulnerability/CVE-2024-39943",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-39943",
    "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).",
    "evidence": "osv:CVE-2024-39943",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-39943",
      "aliases": [
        "CVE-2024-39943",
        "GHSA-5f4x-hwv2-w9w2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rejetto/hfs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0fc82dc7736446e7f16a07071a5fe7f98631e7b6"
                },
                {
                  "fixed": "305381bd36eee074fb238b64302a252668daad1d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rejetto:http_file_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.52.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "305381bd36eee074fb238b64302a252668daad1d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.52.9",
            "v0.52.8",
            "v0.52.7",
            "v0.52.6",
            "v0.52.5",
            "v0.52.4",
            "v0.52.3",
            "v0.52.2",
            "v0.52.1",
            "v0.52.0",
            "v0.51.3",
            "v0.51.2",
            "v0.51.1",
            "v0.51.0",
            "v0.51.0-rc11",
            "v0.51.0-beta10",
            "v0.51.0-beta9",
            "v0.51.0-beta8",
            "v0.51.0-beta7",
            "v0.51.0-beta6",
            "v0.51.0-beta5",
            "v0.50.4",
            "v0.51.0-beta4",
            "v0.51.0-alpha3",
            "v0.51.0-alpha1",
            "v0.50.3",
            "v0.50.2",
            "v0.50.1",
            "v0.50.0",
            "v0.50.0-alpha1",
            "v0.50.0-alpha2",
            "v0.50.0-alpha3",
            "v0.50.0-beta4",
            "v0.50.0-beta5",
            "v0.49.4",
            "v0.49.3",
            "v0.49.2",
            "v0.49.1",
            "v0.49.0",
            "v0.49.0-beta8",
            "v0.49.0-beta7",
            "v0.49.0-beta6",
            "v0.49.0-alpha5",
            "v0.49.0-alpha4",
            "v0.49.0-alpha3",
            "v0.49.0-alpha2",
            "v0.49.0-alpha1",
            "v0.48.3",
            "v0.48.2",
            "v0.48.1",
            "v0.48.0",
            "v0.47.4",
            "v0.47.3",
            "v0.47.2",
            "v0.47.1",
            "v0.47.0",
            "v0.46.1",
            "v0.46.0",
            "v0.45.0",
            "v0.44.0",
            "v0.43.0",
            "v0.42.3",
            "v0.42.2",
            "v0.42.0",
            "v0.41.0",
            "v0.40.1",
            "v0.40.0",
            "v0.39.0",
            "v0.38.3",
            "v0.38.2",
            "v0.38.1",
            "v0.38.0",
            "v0.37.0",
            "v0.36.0",
            "v0.35.0",
            "v0.34.1",
            "v0.34.0",
            "v0.33.0",
            "v0.32.0",
            "v0.31.0",
            "v0.30.2",
            "v0.30.1",
            "v0.30.0",
            "v0.29.1",
            "v0.29.0",
            "v0.28.0",
            "v0.27.2",
            "v0.27.1",
            "v0.27.0",
            "v0.26.9",
            "v0.26.8",
            "v0.26.7",
            "v0.26.6",
            "v0.26.5",
            "v0.26.4",
            "v0.26.3",
            "v0.26.2",
            "v0.26.1",
            "v0.26.0",
            "v0.25.0",
            "v0.24.3",
            "v0.24.2",
            "v0.24.1",
            "v0.24.0",
            "v0.23.1",
            "v0.23.0",
            "v0.22.2",
            "v0.22.1",
            "v0.22.0",
            "v0.21.1",
            "v0.21.0",
            "v0.20.1",
            "v0.20.0",
            "v0.19.0",
            "v0.18.0",
            "v0.17.3",
            "v0.17.2",
            "v0.17.1",
            "v0.17.0",
            "v0.16.0",
            "v0.15.0",
            "v0.14.5",
            "v0.14.4",
            "v0.14.3",
            "v0.14.2",
            "v0.14.1",
            "v0.14.0",
            "v0.13.0",
            "v0.12.0",
            "v0.11.0",
            "v0.10.0",
            "v0.9.1",
            "v0.9.0",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.6.1-alpha",
            "v0.6.0-alpha",
            "v0.5.0-alpha",
            "v0.4.1-alpha",
            "v0.4.0-alpha",
            "v0.3.0-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39943.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.613867288Z",
      "provider": "osv",
      "references": [
        "https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10",
        "https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39943.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-39943",
        "https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39943.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-39943",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517826,
  "published_at": "2024-07-04T00:00:00+00:00"
}