
CVE catalog
CVE-2024-27289
golang-github-jackc-pgx: CVE-2024-27289
- Severity
- High · CVSS 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.85% · Oct 25, 2026
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2, SQL injection can occur when all of the following conditions are met: the non-default simple protocol is used; a placeholder for a numeric value must be immediately preceded by a minus; there must be a second placeholder for a string value after the first placeholder; both must be on the same line; and both parameter values must be user-controlled. The problem is resolved in v4.18.2. As a workaround, do not use the simple protocol or do not place a minus directly before a placeholder.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | golang-github-jackc-pgx | sid | 4.18.3-2 | fixed |
| Debian | golang-github-jackc-pgx | forky | 4.18.3-2 | fixed |
| Debian | golang-github-jackc-pgx | trixie | 4.18.1-2 | fixed |
| Debian | golang-github-jackc-pgx | bookworm | 4.15.0-4 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | golang-github-jackc-pgx | source | sid | 4.18.1-2 | not yet assigned | Not reported | [1065686] |
| Debian | golang-github-jackc-pgx | source | forky | 4.18.1-2 | not yet assigned | Not reported | [1065686] |
| Debian | golang-github-jackc-pgx | source | trixie | 4.18.1-2 | not yet assigned | Not reported | [1065686] |
| Debian | golang-github-jackc-pgx | source | bookworm | (unfixed) | not yet assigned | Not reported | [1065686] |
Notes
[bookworm] golang-github-jackc-pgx: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-27289]
- [https://security-tracker.debian.org/tracker/CVE-2024-27289]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-27289.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0626.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]