Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2024-27289

Опубликовано: 07 мар. 2024
Источник: redhat
CVSS3: 8.1

Описание

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.

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

Меры по смягчению последствий

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

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Multicluster Engine for Kubernetesmulticluster-engine/agent-service-rhel8Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-agent-rhel8Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-reporter-rhel8Not affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-rhel8Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-search-indexer-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-search-v2-api-rhel9Not affected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-central-db-rhel8Out of support scope
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-main-rhel8Will not fix
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-rhel8-operatorOut of support scope
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-roxctl-rhel8Out of support scope

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-89
https://bugzilla.redhat.com/show_bug.cgi?id=2268465pgx: SQL Injection via Line Comment Creation

8.1 High

CVSS3

Связанные уязвимости

CVSS3: 8.1
ubuntu
почти 2 года назад

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.

CVSS3: 8.1
nvd
почти 2 года назад

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.

CVSS3: 8.1
msrc
почти 2 года назад

pgx SQL Injection via Line Comment Creation

CVSS3: 8.1
debian
почти 2 года назад

pgx is a PostgreSQL driver and toolkit for Go. Prior to version 4.18.2 ...

CVSS3: 8.1
github
почти 2 года назад

pgx SQL Injection via Line Comment Creation

8.1 High

CVSS3