You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
cve 2024 27289
About this tag
CVE-2024-27289 is a SQL injection vulnerability in the pgx Go PostgreSQL driver, affecting versions prior to v4.18.2. The flaw occurs when the library operates in simple protocol mode and a specific placeholder pattern appears on a single SQL line, allowing user-controlled input to be interpreted as SQL. The fix was released in pgx v4.18.2. Until upgrading, mitigations include avoiding the simple protocol or refraining from placing a minus sign immediately before numeric placeholders. This vulnerability is relevant for developers using pgx in Go applications, particularly those handling database queries with user input.
A subtle bug in a widely used Go PostgreSQL driver has opened the door to SQL injection under a narrow—but realistic—set of conditions, and the fix requires immediate attention from any team that embeds the pgx library. The vulnerability, tracked as CVE-2024-27289, allows user-controlled input...