{"answers":{"affected":"3 open source packages ship an affected version, including github.com/ClickHouse/ch-go. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-1386 in the wild and no public exploit code.","fix":"Upgrade github.com/ClickHouse/ch-go to 0.65.0 or later.","what":"CVE-2025-1386 is a medium-severity vulnerability in ch-go, published on 11 Apr 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-1386 and fix it if it is affected.\n\nWhat it is: CVE-2025-1386 is a medium-severity vulnerability in ch-go, published on 11 Apr 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-1386 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/ClickHouse/ch-go (Go): affected all versions; fixed in 0.65.0\n- github.com/ClickHouse/ch-go (Go): affected all versions; fixed in 0.65.0\n- github.com/ClickHouse/ch-go (Go): affected all versions; fixed in 0.65.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-1386/ (Markdown: https://insights.sbomify.com/CVE-2025-1386/index.md)","id":"CVE-2025-1386","markdown":"https://insights.sbomify.com/CVE-2025-1386/index.md","name":"CVE-2025-1386","record":{"aliases":["GHSA-m454-3xv7-qj85","GO-2025-3603"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Go ClickHouse client","requires_auth":"high_privilege","summary":"Attackers can smuggle query packets into the connection stream via malicious external data, potentially altering database interactions.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ClickHouse","cpe":[{"product":"ch","vendor":"clickhouse"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"When using the ch-go library, under a specific condition when the query includes a large, uncompressed malicious external data, it is possible for an attacker in control of such data to smuggle another query packet into the connection stream.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Query smuggling in ch-go library","id":"CVE-2025-1386","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"Learning Digital Orca HCM - Improper Authentication","id":"CVE-2025-1387"},"packages":[{"ecosystem":"Go","fixed":["0.65.0"],"introduced":["0"],"last_affected":[],"package":"github.com/ClickHouse/ch-go","purl":null,"source":"GHSA-m454-3xv7-qj85"},{"ecosystem":"Go","fixed":["0.65.0"],"introduced":["0"],"last_affected":[],"package":"github.com/ClickHouse/ch-go","purl":"pkg:golang/github.com/ClickHouse/ch-go","source":"GHSA-m454-3xv7-qj85"},{"ecosystem":"Go","fixed":["0.65.0"],"introduced":["0"],"last_affected":[],"package":"github.com/ClickHouse/ch-go","purl":"pkg:golang/github.com/ClickHouse/ch-go","source":"GO-2025-3603"}],"prev":{"headline":"Fail input validation in clickhouse-library-bridge API could lead to RCE under specific configuration","id":"CVE-2025-1385"},"products":["ch-go"],"published":"2025-04-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-11","vendors":["ch-go"]},"summary":"Attackers can smuggle query packets into the connection stream via malicious external data, potentially altering database interactions.","url":"https://insights.sbomify.com/CVE-2025-1386/"}