From 971a64e9e6935387ab3fad3344e29bb09d2ae665 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 29 Jan 2025 18:42:49 +0000 Subject: [PATCH] Publish Advisories GHSA-33g6-495w-v8j2 GHSA-3xg3-cgvq-2xwr GHSA-7hpq-3g6w-pvhf GHSA-xfhv-wqj6-rx99 --- .../GHSA-33g6-495w-v8j2.json | 68 +++++++++++++++++++ .../GHSA-3xg3-cgvq-2xwr.json | 65 ++++++++++++++++++ .../GHSA-7hpq-3g6w-pvhf.json | 68 +++++++++++++++++++ .../GHSA-xfhv-wqj6-rx99.json | 68 +++++++++++++++++++ 4 files changed, 269 insertions(+) create mode 100644 advisories/github-reviewed/2025/01/GHSA-33g6-495w-v8j2/GHSA-33g6-495w-v8j2.json create mode 100644 advisories/github-reviewed/2025/01/GHSA-3xg3-cgvq-2xwr/GHSA-3xg3-cgvq-2xwr.json create mode 100644 advisories/github-reviewed/2025/01/GHSA-7hpq-3g6w-pvhf/GHSA-7hpq-3g6w-pvhf.json create mode 100644 advisories/github-reviewed/2025/01/GHSA-xfhv-wqj6-rx99/GHSA-xfhv-wqj6-rx99.json diff --git a/advisories/github-reviewed/2025/01/GHSA-33g6-495w-v8j2/GHSA-33g6-495w-v8j2.json b/advisories/github-reviewed/2025/01/GHSA-33g6-495w-v8j2/GHSA-33g6-495w-v8j2.json new file mode 100644 index 00000000000..fcadfd8823c --- /dev/null +++ b/advisories/github-reviewed/2025/01/GHSA-33g6-495w-v8j2/GHSA-33g6-495w-v8j2.json @@ -0,0 +1,68 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-33g6-495w-v8j2", + "modified": "2025-01-29T18:42:07Z", + "published": "2025-01-29T18:42:07Z", + "aliases": [ + "CVE-2025-24790" + ], + "summary": "Snowflake JDBC uses insecure temporary credential cache file permissions", + "details": "### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake JDBC Driver. On Linux systems, when temporary credential caching is enabled, the Snowflake JDBC Driver will cache temporary credentials locally in a world-readable file.\n\nThis vulnerability affects versions 3.6.8 through 3.21.0. Snowflake fixed the issue in version 3.22.0.\n\n### Vulnerability Details\nOn Linux, when either EXTERNALBROWSER or USERNAME_PASSWORD_MFA authentication methods are used with temporary credential caching enabled, the Snowflake JDBC Driver will cache temporary credentials in a local file. In the vulnerable versions of the Driver, this file is created with world-readable permissions.\n\n### Solution\nSnowflake released version 3.22.0 of the Snowflake JDBC Driver, which fixes this issue. We recommend users upgrade to version 3.22.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:N/S:U/C:L/I:L/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Maven", + "name": "net.snowflake:snowflake-jdbc" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "3.6.8" + }, + { + "fixed": "3.22.0" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 3.21.0" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-33g6-495w-v8j2" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24790" + }, + { + "type": "WEB", + "url": "https://github.com/snowflakedb/snowflake-jdbc/commit/9e1a5acf12406b16c4780ca013f4c4db48b74b59" + }, + { + "type": "PACKAGE", + "url": "https://github.com/snowflakedb/snowflake-jdbc" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-276" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-01-29T18:42:07Z", + "nvd_published_at": "2025-01-29T18:15:47Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2025/01/GHSA-3xg3-cgvq-2xwr/GHSA-3xg3-cgvq-2xwr.json b/advisories/github-reviewed/2025/01/GHSA-3xg3-cgvq-2xwr/GHSA-3xg3-cgvq-2xwr.json new file mode 100644 index 00000000000..aa02fe5b89c --- /dev/null +++ b/advisories/github-reviewed/2025/01/GHSA-3xg3-cgvq-2xwr/GHSA-3xg3-cgvq-2xwr.json @@ -0,0 +1,65 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-3xg3-cgvq-2xwr", + "modified": "2025-01-29T18:41:43Z", + "published": "2025-01-29T18:41:43Z", + "aliases": [ + "CVE-2025-24374" + ], + "summary": "Twig security issue where escaping was missing when using null coalesce operator", + "details": "When using the `??` operator, output escaping was missing for the expression on the left side of the operator.\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "twig/twig" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "3.16.0" + }, + { + "fixed": "3.19.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24374" + }, + { + "type": "WEB", + "url": "https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3" + }, + { + "type": "PACKAGE", + "url": "https://github.com/twigphp/Twig" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-74" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-01-29T18:41:43Z", + "nvd_published_at": "2025-01-29T16:15:44Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2025/01/GHSA-7hpq-3g6w-pvhf/GHSA-7hpq-3g6w-pvhf.json b/advisories/github-reviewed/2025/01/GHSA-7hpq-3g6w-pvhf/GHSA-7hpq-3g6w-pvhf.json new file mode 100644 index 00000000000..fd0cb9b94b6 --- /dev/null +++ b/advisories/github-reviewed/2025/01/GHSA-7hpq-3g6w-pvhf/GHSA-7hpq-3g6w-pvhf.json @@ -0,0 +1,68 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-7hpq-3g6w-pvhf", + "modified": "2025-01-29T18:41:57Z", + "published": "2025-01-29T18:41:57Z", + "aliases": [ + "CVE-2025-24789" + ], + "summary": "Snowflake JDBC allows an untrusted search path on Windows", + "details": "### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake JDBC Driver. When the EXTERNALBROWSER authentication method is used on Windows, an attacker with write access to a directory in the %PATH% can escalate their privileges to the user that runs the vulnerable JDBC Driver version.\n\nThis vulnerability affects versions 3.2.3 through 3.21.0 on Windows. Snowflake fixed the issue in version 3.22.0.\n\n### Vulnerability Details\nWhen the EXTERNALBROWSER authentication method is selected, the Snowflake JDBC Driver on non-macOS operating systems tries to open the SSO URL using xdg-open. Because xdg-open is a Linux program that doesn’t exist in a default Windows installation, a sufficiently privileged attacker could place a malicious executable in one of the directories on the %PATH% and achieve local privilege escalation to the user running the JDBC Driver.\n\n### Solution\nSnowflake released version 3.22.0 of the Snowflake JDBC Driver, which fixes this issue. We recommend users upgrade to version 3.22.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:N/S:U/C:H/I:H/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Maven", + "name": "net.snowflake:snowflake-jdbc" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "3.2.3" + }, + { + "fixed": "3.22.0" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 3.21.0" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-7hpq-3g6w-pvhf" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24789" + }, + { + "type": "WEB", + "url": "https://github.com/snowflakedb/snowflake-jdbc/commit/4f01bb8f9b708c71e7a2111c87371dbfc1d53dd6" + }, + { + "type": "PACKAGE", + "url": "https://github.com/snowflakedb/snowflake-jdbc" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-426" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2025-01-29T18:41:57Z", + "nvd_published_at": "2025-01-29T18:15:47Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2025/01/GHSA-xfhv-wqj6-rx99/GHSA-xfhv-wqj6-rx99.json b/advisories/github-reviewed/2025/01/GHSA-xfhv-wqj6-rx99/GHSA-xfhv-wqj6-rx99.json new file mode 100644 index 00000000000..a66ecc6f2f0 --- /dev/null +++ b/advisories/github-reviewed/2025/01/GHSA-xfhv-wqj6-rx99/GHSA-xfhv-wqj6-rx99.json @@ -0,0 +1,68 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-xfhv-wqj6-rx99", + "modified": "2025-01-29T18:42:26Z", + "published": "2025-01-29T18:42:26Z", + "aliases": [ + "CVE-2025-24791" + ], + "summary": "snowflake-sdk may incorrectly validate temporary credential cache file permissions", + "details": "### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake NodeJS Driver. File permissions checks of the temporary credential cache could be bypassed by an attacker with write access to the local cache directory.\n\nThis vulnerability affects versions 1.12.0 through 2.0.1 on Linux. Snowflake fixed the issue in version 2.0.2.\n\n### Vulnerability Details\nOn Linux, when either EXTERNALBROWSER or USERNAME_PASSWORD_MFA authentication methods are used with temporary credential caching enabled, the Snowflake NodeJS Driver will cache temporary credentials in a local file. Due to a bug, the check verifying that the cache file can be accessed only by the user running the Driver always succeeded, but didn’t verify the permissions or the ownership correctly. An attacker with write access to the local cache folder could plant an empty file there and the Driver would use it to store temporary credentials instead of rejecting it due to overly broad permissions.\n\n### Solution\nSnowflake released version 2.0.2 of the Snowflake NodeJS Driver, which fixes this issue. We recommend users upgrade to version 2.0.2.\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:N/S:U/C:L/I:L/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "snowflake-sdk" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.12.0" + }, + { + "fixed": "2.0.2" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 2.0.1" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/snowflakedb/snowflake-connector-nodejs/security/advisories/GHSA-xfhv-wqj6-rx99" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24791" + }, + { + "type": "WEB", + "url": "https://github.com/snowflakedb/snowflake-connector-nodejs/commit/89731b3a4d61a75b721d13d4e47a7a3712ffa45f" + }, + { + "type": "PACKAGE", + "url": "https://github.com/snowflakedb/snowflake-connector-nodejs" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-281" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-01-29T18:42:26Z", + "nvd_published_at": "2025-01-29T17:15:30Z" + } +} \ No newline at end of file