{"id":"CVE-2025-24794","aliases":["CVE-2025-24794","GHSA-m4f6-vcj4-w5mx","PYSEC-2025-27"],"related":[],"kind":"vulnerability","state":"published","title":"The Snowflake Connector for Python uses insecure deserialization of the OCSP response cache","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Issue\nSnowflake 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.\n\nThis vulnerability affects versions 2.7.12 through 3.13.0. Snowflake fixed the issue in version 3.13.1.\n\n### Vulnerability Details\nThe 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.\n\n### Solution\nSnowflake released version 3.13.1 of the Snowflake Connector for Python, which fixes this issue. We recommend users upgrade to version 3.13.1.\n\n### Additional Information\nIf 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](https://hackerone.com/snowflake?type=team).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-01-29T20:25:15.901Z","modified":"2026-09-10T03:50:22.103Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":">= 2.7.12, < 3.13.1","status":"affected"}],"vendor":"snowflakedb","product":"snowflake-connector-python","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.7.12","status":"affected","fixed":"3.13.1"}],"ecosystem":"PyPI","package":"snowflake-connector-python","purl":"pkg:pypi/snowflake-connector-python","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.7.12","fixed":"3.13.1"}],"vendor":"snowflake","product":"snowflake_connector","cpe":"cpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3769b43822357c3874c40f5e74068458c2dc79af"},{"type":"ecosystem","introduced":"2.7.12","status":"affected","fixed":"3.13.1"}],"ecosystem":"PyPI","package":"snowflake-connector-python","purl":"pkg:pypi/snowflake-connector-python","repo":"https://github.com/snowflakedb/snowflake-connector-python","source":"pysec"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-m4f6-vcj4-w5mx","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24794","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-27.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-31T16:53:04.344Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24794","url":"https://www.cve.org/CVERecord?id=CVE-2025-24794","licence":"CVE Terms of Use","modified":"2025-01-31T16:53:18.367Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m4f6-vcj4-w5mx","url":"https://github.com/advisories/GHSA-m4f6-vcj4-w5mx","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:22.103Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24794","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24794","licence":"Public domain","modified":"2026-06-17T08:59:37.300Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-27","url":"https://osv.dev/vulnerability/PYSEC-2025-27","licence":"CC-BY-4.0","modified":"2025-04-09T17:59:24.883Z"}],"updatedAt":"2026-11-25T22:58:53.671Z","epss":{"score":0.0025,"percentile":0.17534,"date":"2026-12-01T12:00:22.000Z"}}