Vulnerability · Published Jun 12, 2025 · Assigned by mitre
CVE-2024-44905
Medium 6.5
In plain English
A medium-severity SQL injection in the golang-gopkg-pg.v5 package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 61.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
go-pg pg v10.13.0 was discovered to contain a SQL injection vulnerability via the component /types/append_value.go.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-gopkg-pg.v5 | no fix listed | DEBIAN-CVE-2024-44905 |
| Debian:13 | golang-gopkg-pg.v5 | no fix listed | DEBIAN-CVE-2024-44905 |
| Go | github.com/go-pg/pg | no fix listed | GHSA-6xp3-p59p-q4fj |
| Go | github.com/go-pg/pg | no fix listed | GO-2025-3764 |
| Go | github.com/go-pg/pg/v10 | 10.15.0 | GHSA-6xp3-p59p-q4fj |
| Go | github.com/go-pg/pg/v10 | 10.15.0 | GO-2025-3764 |
| Go | github.com/go-pg/pg/v9 | no fix listed | GO-2025-3764 |
| Go | github.com/go-pg/pg/v9 | no fix listed | GHSA-6xp3-p59p-q4fj |
| Ubuntu:22.04:LTS | golang-gopkg-pg.v5 | no fix listed | UBUNTU-CVE-2024-44905 |
| Ubuntu:24.04:LTS | golang-gopkg-pg.v5 | no fix listed | UBUNTU-CVE-2024-44905 |
| Ubuntu:25.10 | golang-gopkg-pg.v5 | no fix listed | UBUNTU-CVE-2024-44905 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/go-pg/pg
- 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://github.com/go-pg/pg/blob/30e7053c6cacdd44d06cf2b92183b49188b7c922/types/append_value.go#L151
- https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/