GHSA-m4f6-vcj4-w5mx

Suggest an improvement
Source
https://github.com/advisories/GHSA-m4f6-vcj4-w5mx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-m4f6-vcj4-w5mx/GHSA-m4f6-vcj4-w5mx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-m4f6-vcj4-w5mx
Aliases
Related
Published
2025-01-29T20:50:18Z
Modified
2025-01-29T22:25:52.154470Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
snowflake-connector-python vulnerable to insecure deserialization of the OCSP response cache
Details

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.

Database specific
{
    "nvd_published_at": "2025-01-29T21:15:21Z",
    "cwe_ids": [
        "CWE-502"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-01-29T20:50:18Z"
}
References

Affected packages

PyPI / snowflake-connector-python

Package

Name
snowflake-connector-python
View open source insights on deps.dev
Purl
pkg:pypi/snowflake-connector-python

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.7.12
Fixed
3.13.1

Affected versions

2.*

2.7.12
2.8.0
2.8.1
2.8.2
2.8.3
2.9.0

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.1.0a1
3.1.0a2
3.1.0
3.1.1
3.2.0
3.2.1
3.3.0b1
3.3.0
3.3.1
3.4.0
3.4.1
3.5.0
3.6.0
3.7.0
3.7.1
3.8.0
3.8.1
3.9.0
3.9.1
3.10.0
3.10.1
3.11.0
3.12.0
3.12.1
3.12.2
3.12.3
3.12.4
3.13.0

Database specific

{
    "last_known_affected_version_range": "<= 3.13.0"
}