ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-27289

pgx: SQL Injection via Line Comment Creation

Moderate No fix available CVE-2024-27289

Details

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

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10osbuild-composer
All versions, no fix yet
Red Hat:enterprise_linux:10osbuild-composer-core
All versions, no fix yet
Red Hat:enterprise_linux:10osbuild-composer-worker
All versions, no fix yet
Red Hat:enterprise_linux:8osbuild-composer
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-core
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-dnf-json
All versions, will not be fixed
Red Hat:enterprise_linux:8osbuild-composer-worker
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-core
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-dnf-json
All versions, will not be fixed
Red Hat:enterprise_linux:9osbuild-composer-worker
All versions, will not be fixed

References