-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| snowflake-sdk | npm | >= 1.12.0, <= 2.0.1 | 2.0.2 |
The vulnerability stemmed from improper file permission and ownership validation. The commit shows the original validatePermission function in json_credential_manager.js was replaced with validateOnlyUserReadWritePermissionAndOwner from file_util.js. The vulnerable function only checked permission bits without verifying ownership, and used an incorrect bitmask (0o600 vs 0o777) that could allow group/other write permissions. The fixed version in file_util.js adds UID validation and proper permission mask checks, confirming this was the vulnerable function.
Ongoing coverage of React2Shell