From 111b54e9fdcb119e39512b83ff4465c623b92116 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 20:52:43 +0000 Subject: [PATCH] Publish GHSA-2mqw-rq5m-8hc8 --- .../GHSA-2mqw-rq5m-8hc8.json | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 advisories/github-reviewed/2025/01/GHSA-2mqw-rq5m-8hc8/GHSA-2mqw-rq5m-8hc8.json diff --git a/advisories/github-reviewed/2025/01/GHSA-2mqw-rq5m-8hc8/GHSA-2mqw-rq5m-8hc8.json b/advisories/github-reviewed/2025/01/GHSA-2mqw-rq5m-8hc8/GHSA-2mqw-rq5m-8hc8.json new file mode 100644 index 00000000000..5275b2a9bda --- /dev/null +++ b/advisories/github-reviewed/2025/01/GHSA-2mqw-rq5m-8hc8/GHSA-2mqw-rq5m-8hc8.json @@ -0,0 +1,64 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-2mqw-rq5m-8hc8", + "modified": "2025-01-29T20:50:56Z", + "published": "2025-01-29T20:50:55Z", + "aliases": [ + "CVE-2025-24788" + ], + "summary": "Snowflake.Data has weak temporary files permissions", + "details": "### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake Connector for .NET in which files downloaded from stages are temporarily placed in a world-readable local directory, making them accessible to unauthorized users on the same machine.\n\nThis vulnerability affects versions 2.0.12 through 4.2.0 on Linux and macOS. Snowflake fixed the issue in version 4.3.0.\n\n### Vulnerability Details\nWhen downloading files from stages, the Snowflake Connector for .NET uses the OS temporary directory to save files before copying them to the destination directory. The files in the temporary directory, which are removed once the write to the destination directory concludes, have world-readable permissions on Linux and macOS. This could allow any user on the local machine to access them during their limited lifetime.\n\n### Solution\nSnowflake released version 4.3.0 of the Snowflake Connector for .NET, which fixes this issue. We recommend users upgrade to version 4.3.0.\n\n### Additional Information\nIf you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "NuGet", + "name": "Snowflake.Data" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.0.12" + }, + { + "fixed": "4.3.0" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 4.2.0" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/snowflakedb/snowflake-connector-net/security/advisories/GHSA-2mqw-rq5m-8hc8" + }, + { + "type": "WEB", + "url": "https://github.com/snowflakedb/snowflake-connector-net/commit/89d91e8316ca213c5d184bcf469ed93977a5edf9" + }, + { + "type": "PACKAGE", + "url": "https://github.com/snowflakedb/snowflake-connector-net" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-276" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-01-29T20:50:55Z", + "nvd_published_at": null + } +} \ No newline at end of file