SNOW-1898533: Race condition in HttpUtil#buildHttpClient causing incorrect proxy settings to be used #2047
Labels
bug
status-fixed_awaiting_release
The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector.
status-triage_done
Initial triage done, will be further handled by the driver team
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of JDBC driver are you using?
3.20 but confirmed my test fails with main branch as of Jan 26, 2025
What operating system and processor architecture are you using?
macOS x64
What version of Java are you using?
17
What did you do?
Unit test that reproduces the problem:
Test should pass but instead fails. Sample failure output I get:
What should have happened and what happened instead?
Don't think this is applicable here since I can reproduce this with a unit test outside of actually using the driver.
I believe this bug is causing problems in our multi-tenant BI application where one user's Snowflake connection is incorrectly connecting to another user's proxy. Some users of our application connect to Snowflake through proxies while others do not (i.e., connect directly). This generally results in Snowflake rejecting the connection due to an IP address allowlist violation, but is still a major security concern for us.
The text was updated successfully, but these errors were encountered: