GHSA-hwcc-4cv8-cf3h

Suggest an improvement
Source
https://github.com/advisories/GHSA-hwcc-4cv8-cf3h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-hwcc-4cv8-cf3h/GHSA-hwcc-4cv8-cf3h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hwcc-4cv8-cf3h
Aliases
Published
2023-12-22T19:51:09Z
Modified
2024-02-16T08:22:27.600092Z
Severity
  • 6.0 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Snowflake Connector .NET does not properly check the Certificate Revocation List (CRL)
Details

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.

Database specific
{
    "nvd_published_at": "2023-12-22T17:15:10Z",
    "cwe_ids": [
        "CWE-295"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-12-22T19:51:09Z"
}
References

Affected packages

NuGet / Snowflake.Data

Package

Name
Snowflake.Data
View open source insights on deps.dev
Purl
pkg:nuget/Snowflake.Data

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.25
Fixed
2.1.5

Affected versions

2.*

2.0.25
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4

Database specific

{
    "last_known_affected_version_range": "<= 2.1.4"
}