CVE-2025-24794
JSON

6.7medium

The Snowflake Connector for Python uses insecure deserialization of the OCSP response cache

Severity
6.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m4f6-vcj4-w5mxPYSEC-2025-27

Description

The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. The OCSP response cache uses pickle as the serialization format, potentially leading to local privilege escalation. This vulnerability affects versions 2.7.12 through 3.13.0. Snowflake fixed the issue in version 3.13.1.

Affected

Product or packageVersionsReported by
snowflakedb snowflake-connector-python>= 2.7.12, < 3.13.1CVE List
snowflake-connector-python (PyPI)from 2.7.12 before 3.13.1, before 3769b43822357c3874c40f5e74068458c2dc79afGitHub Advisory Database, PyPA Advisory Database
snowflake snowflake_connectorfrom 2.7.12 before 3.13.1NVD

All scores

GitHub_M6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHub6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. The OCSP response cache uses pickle as the serialization format, potentially leading to local privilege escalation. This vulnerability affects versions 2.7.12 through 3.13.0. Snowflake fixed the issue in version 3.13.1.

GitHub Advisory Database
Issue

Snowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. The OCSP response cache uses pickle as the serialization format, potentially leading to local privilege escalation.

This vulnerability affects versions 2.7.12 through 3.13.0. Snowflake fixed the issue in version 3.13.1.

Vulnerability Details

The OCSP response cache is saved locally on the machine running the Connector using the pickle serialization format. This can potentially lead to local privilege escalation if an attacker has write access to the OCSP response cache file.

Solution

Snowflake released version 3.13.1 of the Snowflake Connector for Python, which fixes this issue. We recommend users upgrade to version 3.13.1.

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.

NVD (es)

Snowflake Connector para Python proporciona una interfaz para desarrollar aplicaciones Python que se pueden conectar a Snowflake y realizar todas las operaciones estándar. Snowflake descubrió y solucionó una vulnerabilidad en el conector Snowflake para Python. La caché de respuesta de OCSP utiliza pickle como formato de serialización, lo que puede provocar una escalada de privilegios locales. Esta vulnerabilidad afecta a las versiones 2.7.12 a 3.13.0. Snowflake solucionó el problema en la versión 3.13.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-24794 changed 2025-01-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-m4f6-vcj4-w5mx changed 2026-09-10CC-BY-4.0
NVDCVE-2025-24794 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2025-27 changed 2025-04-09CC-BY-4.0