CVE-2025-1386
NoneCVE-2025-1386- Query smuggling in ch-go library
CVSS
—
EPSS
0.4%
Published
Apr 12, 2025
CISA due date
—
Cloudanix analysis
A problem handling certain large data inputs could let attackers secretly add extra commands to network conversations used by file and print services.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper input validation in the ch-go library permits an attacker controlling large uncompressed external data to inject an additional query packet into the connection stream.
Why it matters to the business
Organizations using affected Red Hat Samba packages on storage 3.5 may face unauthorized query execution or connection manipulation, increasing risk of data exposure or service disruption until systems are updated.
How an attack unfolds
An attacker supplies malicious external data containing a smuggled query packet; when the ch-go library processes the large uncompressed payload, the injected packet is accepted into the stream, bypassing normal query boundaries.
How to fix it
Upgrade all listed Samba packages on Red Hat storage 3.5 to version 0:4.14.5-206.el8rhgs or later.
How to confirm the fix worked
Confirm package versions match or exceed 0:4.14.5-206.el8rhgs using rpm -q and verify no vulnerable ch-go library remains in the Samba stack.
Typical attack path
- Identify a target using the vulnerable ch-go library via Samba components
- Craft and host large uncompressed external data embedding a second query packet
- Trick the target into processing the malicious data over an active connection
- Execute the smuggled query to perform unauthorized actions
How to detect it
Inspect Samba and ch-go related logs for unexpected query packets or connection anomalies; review external data handling events for signs of smuggling attempts.
What your security team should do
- Immediately schedule upgrades to the fixed Samba package versions
- Monitor for any external data processing anomalies in Samba environments
- Review network connections for unexpected query patterns until patches are applied
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/ClickHouse/ch-go | 0 | 0.65.0 |
| Chainguard | telegraf-1.33 | 0 | 0 |
| Chainguard | telegraf-1.34 | 0 | 1.34.2-r0 |
| Chainguard | teleport | 0 | 0 |
| Wolfi | telegraf-1.33 | 0 | 0 |
| Wolfi | telegraf-1.34 | 0 | 1.34.2-r0 |
| Wolfi | teleport | 0 | 0 |
| openSUSE:Tumbleweed | govulncheck-vulndb | 0 | 0.0.20250422T181640-1.1 |
Related vulnerabilities
- CVE-2025-10543 Eclipse Paho Go MQTT may incorrectly encode strings if length exceeds 65535 bytes Also affects telegraf-1.33
- CVE-2025-46327 Go Snowflake Driver has race condition when checking access to Easy Logging configuration… Also affects telegraf-1.33
- CVE-2025-30215 NATS-Server is a High-Performance server for NATS.io, the cloud and edge native messaging… Also affects telegraf-1.33
- CVE-2025-63811 jose2go is vulnerable to a JWT bomb attack through its decode function Also affects telegraf-1.34
- CVE-2025-32386 Helm Allows A Specially Crafted Chart Archive To Cause Out Of Memory Termination Also affects teleport
- CVE-2025-32387 Helm Allows A Specially Crafted JSON Schema To Cause A Stack Overflow Also affects teleport
- CVE-2024-53259 quic-go is an implementation of the QUIC protocol in Go. Also affects teleport
- CVE-2024-22031 A vulnerability has been identified within Rancher where a user with the ability to… Also affects govulncheck-vulndb