CVE-2023-51662: Snowflake Connector .NET does not properly check the Certificate Revocation List (CRL)
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.
Other sources
The Snowflake .NET driver provides an interface to the Microsoft .NET open source software framework for developing applications. 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-51662?
CVE-2023-51662 is classified as a high severity vulnerability due to its potential to allow exploitation in secure communications.
How do I fix CVE-2023-51662?
To remediate CVE-2023-51662, update the Snowflake Connector .NET to version 2.1.5 or later.
What software is affected by CVE-2023-51662?
CVE-2023-51662 affects the Snowflake Connector .NET versions from 2.0.25 to 2.1.4.
What are the implications of CVE-2023-51662?
CVE-2023-51662 can lead to unvalidated certificate checks, potentially allowing man-in-the-middle attacks.
Is the insecureMode flag related to CVE-2023-51662?
Yes, CVE-2023-51662 involves the insecureMode flag being set to false by default, which bypasses necessary security checks.