Loading...
Skip to main content

CVE-2024-39943 — Vulnerability in hfs — CVE Details

HIGH

rejetto HFS vulnerable to OS Command Execution by remote authenticated users

Published July 5, 2024Updated November 18, 2024Source: osv

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

Advisory Timeline

  • First published July 5, 2024 (830 days ago).
  • Last revised November 18, 2024 — 137 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update hfs to 0.52.10 or later
npm install hfs@0.52.10

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
hfs
npm
All versions0.52.10

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-39943?
rejetto HFS vulnerable to OS Command Execution by remote authenticated users This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2024-39943?
CVE-2024-39943 affects hfs. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-39943 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-5f4x-hwv2-w9w2

Related CVEs

  • CVE-2026-107375
    HIGH

    JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort

  • CVE-2026-107384
    HIGH

    MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies