Improper Request Handling in Snowflake Connector for C/C++
CVE-2025-46330
3.3LOW
What is CVE-2025-46330?
The Snowflake Connector for C/C++, specifically the libsnowflakeclient, manages malformed HTTP requests inefficiently in versions 0.5.0 through 2.1.9. When a malformed request is received, rather than returning instantly with an error (HTTP response code 400), the connector incorrectly assumes it can retry the request. This behavior can lead to the application hanging as it will continue to try up to SF_CON_MAX_RETRY times, effectively freezing the operation until all retry attempts are exhausted. This issue has been resolved in version 2.2.0, which rectifies the handling of erroneous requests.
Affected Version(s)
libsnowflakeclient >= 0.5.0, < 2.2.0