CVE-2025-27496: Snowflake jdbc Snowflake JDBC Driver Client-side Encryption Vulnerability
LOWCVE-2025-27496 is a LOW (CVSS 3.3) snowflake jdbc driver client-side encryption vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Snowflake jdbc libraries in the Maven ecosystem. The issue involves snowflake jdbc driver client-side encryption key in debug logs. Remediation is available by upgrading affected packages to version 3.23.1.
CVE-2025-27496 at a Glance
Security Impact
CVSS: 3.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2025-27496
To remediate this vulnerability, upgrade all affected Snowflake jdbc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>net.snowflake</groupId>
<artifactId>snowflake-jdbc</artifactId>
<version>3.23.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=net.snowflake
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-27496, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=net.snowflake
Analyze the terminal output to locate any version of Snowflake jdbc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.23.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=net.snowflake command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Snowflake jdbc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-27496 Affected Snowflake jdbc Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
net.snowflake:snowflake-jdbc
|
Maven |
≥ 3.0.13
< 3.23.1
|
3.23.1
|
References
Frequently Asked Questions
What is CVE-2025-27496?
Which Snowflake jdbc versions are affected?
What version fixes CVE-2025-27496?
Is snowflake-jdbc affected?
What is the CVSS score of CVE-2025-27496?
What CWE is associated with CVE-2025-27496?
How can I check Maven dependencies for CVE-2025-27496?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q298-375f-5q63",
"modified" : "2025-03-13T21:39:12Z",
"published" : "2025-03-13T18:57:46Z",
"aliases" : [ "CVE-2025-27496" ],
"summary" : "Snowflake JDBC Driver client-side encryption key in DEBUG logs",
"details" : "### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake JDBC driver (“Driver”). When the logging level was set to DEBUG, the Driver would log locally the client-side encryption master key of the target stage during the execution of GET/PUT commands. This key by itself does not grant access to any sensitive data without additional access authorizations, and is not logged server-side by Snowflake.\n\nThis vulnerability affects Driver versions 3.0.13 through 3.23.0. Snowflake fixed the issue in version 3.23.1.\n\n### Vulnerability Details\nWhen the logging level was set to DEBUG, the Driver would locally log the client-side encryption master key of the target stage during the execution of GET/PUT commands. The key was logged in a JSON object under the queryStageMasterKey key. The key by itself does not grant access to any sensitive data.\n\n### Solution\nSnowflake released version 3.23.1 of the Snowflake JDBC driver, which fixes this issue. We highly recommend users upgrade to version 3.23.1.\n\n### Additional Information\nIf you discover a security vulnerability in one of our products or websites, please report the issue to Snowflake through our Vulnerability Disclosure Program hosted at HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "net.snowflake:snowflake-jdbc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.13"
}, {
"fixed" : "3.23.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.23.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-q298-375f-5q63"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-27496"
}, {
"type" : "WEB",
"url" : "https://github.com/snowflakedb/snowflake-jdbc/commit/ef81582ce2f1dbc3c8794a696c94f4fe65fad507"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/snowflakedb/snowflake-jdbc"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-13T18:57:46Z",
"nvd_published_at" : "2025-03-13T19:15:52Z"
}
}