CVE-2024-44906
MEDIUM 6.5CVSS 3.1uptrace pgdriver SQL injection vulnerability
uptrace pgdriver v1.2.1 was discovered to contain a SQL injection vulnerability via the appendArg function in /pgdriver/format.go. The maintainer has stated that the issue is fixed in v1.2.15.
- Published
- 12 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-h4h6-vccr-44h2GO-2025-3765
- Sources
- NVDJSONOSV GHSA-h4h6-vccr-44h2JSONOSV GO-2025-3765JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | uptrace | pgdrivercpe:2.3:a:uptrace:pgdriver:1.2.1:*:*:*:*:go:*:* |
= 1.2.1 | |
| OSV | Go | github.com/uptrace/bun/driver/pgdriver | < 1.2.15 | 1.2.15 |
References
- https://github.com/advisories/GHSA-h4h6-vccr-44h2 · ADVISORY
- https://github.com/uptrace/bun/blob/1573ae7c2fffad1a7f72fd2d205e924b2fd4043b/driver/pgdriver/format.go#L62 · Product, WEB
- https://github.com/uptrace/bun/tree/master/driver/pgdriver · Product, WEB
- https://media.defcon.org/DEF%20CON%2032/DEF%20CON%2032%20presentations/DEF%20CON%2032%20-%20Paul%20Gerste%20-%20SQL%20Injection%20Isn%27t%20Dead%20Smuggling%20Queries%20at%20the%20Protocol%20Level.pdf · Exploit, WEB
- https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-44906 · ADVISORY
- https://github.com/uptrace/bun/issues/1224 · WEB
- https://github.com/uptrace/bun/commit/8067a8f13f8d22fb57b76d6800f7aefc12b044cd · WEB
- https://github.com/uptrace/bun · PACKAGE
- https://github.com/uptrace/bun/blob/v1.2.15/CHANGELOG.md · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 12 Jun 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jul 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2025)