Advisory

GHSA-5f4x-hwv2-w9w2

Also known as: CVE-2024-39943

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-07-05 00:31 UTC
Modified
2024-11-18 16:26 UTC

Affected packages and fixes

hfs

npm · All systems

Affected

  • introduced 0, fixed 0.52.10 (semver)

Fixed versions

0.52.10

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences