VDB
Sign up
CRITICAL9.9

GHSA-5f4x-hwv2-w9w2

rejetto HFS vulnerable to OS Command Execution by remote authenticated users

Quick fix

GHSA-5f4x-hwv2-w9w2 — hfs: upgrade to the fixed version with the command below.

npm install hfs@0.52.10

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/hfs
Introduced in: 0Fixed in: 0.52.10
Fixnpm install hfs@0.52.10

References