Open-source package vulnerability · Go
CVE-2024-44905: go-pg SQL injection vulnerability via the component /types/append_value.go
mediumCVSS 3.1 6.5GHSA-6xp3-p59p-q4fj
go-pg pg v10.13.0 was discovered to contain a SQL injection vulnerability via the component /types/appendvalue.go.
Published Jun 12, 2025 · Updated Dec 20, 2025
Affected packages
github.com/go-pg/pg/v9
- Ecosystem
- Go
- Affected
- <= 9.2.1
- Fixed in
- No patched version yet
- Check
go list -m github.com/go-pg/pg/v9
github.com/go-pg/pg
- Ecosystem
- Go
- Affected
- <= 8.0.7
- Fixed in
- No patched version yet
- Check
go list -m github.com/go-pg/pg
github.com/go-pg/pg/v10
- Ecosystem
- Go
- Affected
- < 10.15.0
- Fixed in
- 10.15.0
- Check
go list -m github.com/go-pg/pg/v10
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
go-pg pg v10.13.0 was discovered to contain a SQL injection vulnerability via the component /types/append_value.go.
Credited to elliotcourant.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-44905
- https://github.com/go-pg/pg
- https://github.com/go-pg/pg/blob/30e7053c6cacdd44d06cf2b92183b49188b7c922/types/append_value.go#L151
- 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
- https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw
- https://github.com/go-pg/pg/commit/eff50a43724e52347559687a6945c116afbb41c1
- https://github.com/go-pg/pg/releases/tag/v10.15.0
- https://github.com/advisories/GHSA-6xp3-p59p-q4fj
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
