GHSA-5f4x-hwv2-w9w2

Suggest an improvement
Source
https://github.com/advisories/GHSA-5f4x-hwv2-w9w2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-5f4x-hwv2-w9w2/GHSA-5f4x-hwv2-w9w2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5f4x-hwv2-w9w2
Aliases
Published
2024-07-05T00:31:07Z
Modified
2024-11-18T16:26:49Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
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).

Database specific
{
    "nvd_published_at": "2024-07-04T23:15:09Z",
    "cwe_ids": [
        "CWE-284",
        "CWE-78"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-07-08T18:38:39Z"
}
References

Affected packages

npm / hfs

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.52.10