CVE-2023-51662 — Vulnerability in Snowflake.Data — CVE Details
Snowflake Connector .NET does not properly check the Certificate Revocation List (CRL)
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.49%). Schedule for your next planned update.
Does your project use an affected Snowflake.Data version?
Paste your packages.lock.json to check it for CVE-2023-51662 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Issue
Snowflake recently received a report about a vulnerability in the Snowflake Connector .NET where the checks against the Certificate Revocation List (CRL) were not performed where the insecureMode flag was set to false, which is the default setting. The vulnerability affects versions between 2.0.25 and 2.1.4 (inclusive). Snowflake fixed the issue in version 2.1.5.
Attack Scenario
Snowflake uses CRL to check if a TLS certificate has been revoked before its expiration date. The lack of correct validation of revoked certificates could, in theory, allow an attacker who has both access to the private key of a correctly issued Snowflake certificate and the ability to intercept network traffic to perform a Man-in-the-Middle (MitM) attack in order to compromise Snowflake credentials used by the driver.
The vulnerability is difficult to exploit given both conditions required and, at the time of this advisory's publication, Snowflake is not aware of any compromise of its certificates, nor unauthorized issuance of such by any publicly trusted Certificate Authority (CA). However, an upgrade to the newest version is recommended to ensure the highest level of security and protection against future unforeseen threats.
Solution
On December 18, 2023, Snowflake released version 2.1.5 of the Snowflake Connector .NET, which fixes the issue, and we recommend users upgrade to version 2.1.5. Customers continuing to use the impacted versions of the connector should update their insecureMode flag to true.
Acknowledgement
Snowflake would like to thank Timo Vink for reporting this vulnerability.
Additional Information
If 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.
Advisory Timeline
- First published December 22, 2023 (1070 days ago).
- Last revised February 16, 2024 — 56 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Snowflake.Data --version 2.1.5
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| Snowflake.Data NuGet · Affected: 2.0.25, 2.1.0, 2.1.1, 2.1.2 (+2 more) | 2.1.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-295Improper Certificate ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.0 score means for each attack dimension.
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L
References
- https://github.com/snowflakedb/snowflake-connector-net/security/advisories/GHSA-hwcc-4cv8-cf3hWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-51662ADVISORY
- https://github.com/snowflakedb/snowflake-connector-net/commit/49cb77ddd6e18c110eca35aa580e89d73c46cc33WEB
- https://docs.snowflake.com/release-notes/clients-drivers/dotnet-2023#version-2-1-5-december-18-2023WEB
- https://github.com/snowflakedb/snowflake-connector-netPACKAGE
Frequently Asked Questions
- What is CVE-2023-51662?
- Snowflake Connector .NET does not properly check the Certificate Revocation List (CRL). This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.0/10).
- How do I check if my project is affected by CVE-2023-51662?
- CVE-2023-51662 affects Snowflake.Data. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-51662 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 34.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2023-34230HIGH
Snowflake Connector .Net Command Injection
- CVE-2025-24788MEDIUM
Snowflake.Data has weak temporary files permissions
- CVE-2026-114154MEDIUM
Microsoft Security Advisory CVE-2026-114154 - ASP.NET Core Denial of Service Vulnerability
- GHSA-6856-87hx-p5x7MEDIUM
Microsoft Security Advisory CVE-2026-105544 - .NET Elevation of Privilege Vulnerability