Skip to content
OpenAdvisories
Medium · 6.5 CVE-2017-16024 EUVD-2018-0725GHSA-38h8-x697-gh8q

Tmp files readable by other users in sync-exec

Published Jun 4, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

Description

The sync-exec module is used to simulate child_process.execSync in node versions <0.11.9. Sync-exec uses tmp directories as a buffer before returning values. Other users on the server have read access to the tmp directory, possibly allowing an attacker on the server to obtain confidential information from the buffer/tmp file, while it exists.

Affected products

VendorProductAffectedFixed
HackerOne sync-exec node module All versions —

Affected packages

EcosystemPackageAffectedFixedRecord
npm sync-exec <= 0.6.2 — GHSA-38h8-x697-gh8q

References