GHSA-vgv5-cxvh-vfxh

Suggest an improvement
Source
https://github.com/advisories/GHSA-vgv5-cxvh-vfxh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-vgv5-cxvh-vfxh/GHSA-vgv5-cxvh-vfxh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vgv5-cxvh-vfxh
Aliases
Published
2021-04-07T20:50:57Z
Modified
2024-09-13T15:22:18.921075Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Arbitrary code execution in clickhouse-driver
Details

clickhouse-driver before 0.1.5 allows a malicious clickhouse server to trigger a crash or execute arbitrary code (on a database client) via a crafted server response, due to a buffer overflow.

Database specific
{
    "nvd_published_at": "2021-01-06T13:15:00Z",
    "cwe_ids": [
        "CWE-120"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-04-06T23:25:07Z"
}
References

Affected packages

PyPI / clickhouse-driver

Package

Name
clickhouse-driver
View open source insights on deps.dev
Purl
pkg:pypi/clickhouse-driver

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.5

Affected versions

0.*

0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
0.0.10
0.0.11
0.0.12
0.0.13
0.0.14
0.0.15
0.0.16
0.0.17
0.0.18
0.0.19
0.0.20
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4

Ecosystem specific

{
    "affected_functions": [
        "clickhouse_driver.bufferedreader.BufferedReader",
        "clickhouse_driver.bufferedreader.BufferedReader.read",
        "clickhouse_driver.bufferedreader.BufferedReader.read_strings",
        "clickhouse_driver.bufferedwriter.BufferedWriter",
        "clickhouse_driver.bufferedwriter.BufferedWriter.__init__",
        "clickhouse_driver.bufferedwriter.BufferedWriter.write"
    ]
}