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 pre…
Historical advisory saved 27 Oct 2026 19:50:12 UTC. The publisher may have updated it since then. Latest advisory.
euvd · EUVD-2024-0962
Publishedpgx 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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Mar 6, 2024, 6:28:12 PM
dateUpdated: Jun 12, 2025, 3:45:56 PM
5 related source bulletins · separate from aliases
WID-SEC-W-2024-0626: Red Hat Enterprise Linux: Mehrere Schwachstellen ermöglichen Manipulation von Dateien
CVE-2024-27289 · CVE-2024-27304
RHSA-2024:1321: Red Hat Security Advisory: ACS 4.3 enhancement and security update
CVE-2024-27289 · CVE-2024-27304
RHSA-2024:7922: Red Hat Security Advisory: OpenShift Container Platform 4.17.1 bug fix and security update
CVE-2023-3462 · CVE-2023-45290 · CVE-2024-3727 · CVE-2024-6345 · CVE-2024-6508 · CVE-2024-24786 · CVE-2024-24791 · CVE-2024-27289 · CVE-2024-45296
msrc_CVE-2024-27289: pgx SQL Injection via Line Comment Creation
CVE-2024-27289
RHSA-2024:7944: Red Hat Security Advisory: OpenShift Container Platform 4.16.17 security update
CVE-2024-27289
- Source published
- Mar 6, 2024, 6:28:12 PM (timezone not stated)
- Source modified
- Jun 12, 2025, 3:45:56 PM (timezone not stated)
- Saved here
- 27 Oct 2026 19:50:12 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H