Lucene search

K
redhatcveRedhat.comRH:CVE-2024-27289
HistoryMar 07, 2024 - 6:08 p.m.

CVE-2024-27289

2024-03-0718:08:15
redhat.com
access.redhat.com
9
pgx postgresql driver
sql injection
cve-2024-27289
simple protocol
sql placeholder
v4.18.2

8.2 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

8.7%

A flaw was found in pgx. SQL injection can occur when all of the following conditions are met in versions before 4.18.2 of pgx. - 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 - Both parameter values must be user-controlled

Mitigation

A possible mitigation is to not use the simple protocol or do not place a minus directly before a placeholder.

8.2 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

8.7%