Wiz Agents & Workflows are here

CVE-2024-39943
JavaScript vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2024-39943) has been identified in rejetto HFS (HTTP File Server) version 3 before 0.52.10 affecting Linux, UNIX, and macOS systems. The vulnerability allows remote authenticated users with upload permissions to execute operating system commands. This security flaw was discovered and reported by security researcher Charmin Doge (Security Online).

Technical details

The vulnerability stems from the improper implementation of command execution in HFS, specifically in how it handles the df command. The issue occurs because the system uses execSync instead of spawnSync in the Node.js child_process, which inadvertently enables shell command execution. The vulnerability has received a Critical CVSS v3.1 score of 9.9 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) and is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command) and CWE-284 (Improper Access Control) (NVD).

Impact

The vulnerability enables authenticated users with upload permissions to execute arbitrary operating system commands on the affected systems. This could potentially lead to complete system compromise, allowing attackers to gain unauthorized access to sensitive data, modify system configurations, or execute malicious code (ASEC).

Mitigation and workarounds

Users are strongly advised to update their HFS installation to version 0.52.10 or later, which contains the fix for this vulnerability. The patch replaces the vulnerable execSync call with spawnSync in the Node.js child_process implementation. For systems that cannot be immediately updated, it is recommended to restrict upload permissions to only trusted users and implement additional security controls such as firewalls and intrusion detection systems (Security Online).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34156CRITICAL9.9
  • JavaScriptJavaScript
  • @nocobase/plugin-workflow-javascript
NoYesMar 30, 2026
CVE-2026-34363HIGH8.2
  • JavaScriptJavaScript
  • parse-server
NoYesMar 30, 2026
CVE-2026-33949HIGH8.1
  • JavaScriptJavaScript
  • @tinacms/graphql
NoYesMar 30, 2026
CVE-2026-34043MEDIUM5.9
  • JavaScriptJavaScript
  • serialize-javascript
NoYesMar 31, 2026
CVE-2026-34373MEDIUM5.3
  • JavaScriptJavaScript
  • parse-server
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management