CVE-2024-44906 json
uptrace pgdriver SQL injection vulnerability
published 2025-06-12 16 mo ago modified 2026-09-10 1 mo ago also GHSA-h4h6-vccr-44h2 , GO-2025-3765 , EUVD-2024-54680
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/uptrace/bun/driver/pgdriver 1.2.15
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250814T182633-150000.1.98.1
suse advisories SUSE-SU-2025:02912-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250730T213748-1.1
opensuse advisories openSUSE-SU-2025:15405-1
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 16 mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- media.defcon.org 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 referenced PoC, tagged "exploit" by a source, unverified
- sonarsource.com https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/uptrace/bun/driver/pgdriver | <1.2.15 |
1.2.15 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/uptrace/bun/commit/8067a8f13f8d22fb57b76d6800f7aefc12b044cd
web
-
media.defcon.org
/DEF%20CON%2032/DEF%20CON%2032%20presentations/DEF%20CON%2032%20-%20Paul%20Gerste%20-%20SQL%20Injection%20Isn%
web, exploit
-
sonarsource.com
/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/
exploit, third-party-advisory
-
github.com
/uptrace/bun/tree/master/driver/pgdriver
web, product
-
github.com
/uptrace/bun/blob/1573ae7c2fffad1a7f72fd2d205e924b2fd4043b/driver/pgdriver/format.go#L62
web, product
-
github.com
/advisories/GHSA-h4h6-vccr-44h2
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-44906
advisory
-
github.com
/uptrace/bun/issues/1224
web
-
github.com
/uptrace/bun
package
-
github.com
/uptrace/bun/blob/v1.2.15/CHANGELOG.md
web
-
sonarsource.com
/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw
web
Sources
- CVE List CVE-2024-44906
- GitHub Advisory GHSA-h4h6-vccr-44h2
- NVD CVE-2024-44906
- OSV GO-2025-3765
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.