SQL Injection Affecting osbuild-composer-worker package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS9-OSBUILDCOMPOSERWORKER-6419629
  • published8 Mar 2024
  • disclosed7 Mar 2024

Introduced: 7 Mar 2024

CVE-2024-27289  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

There is no fixed version for Centos:9 osbuild-composer-worker.

NVD Description

Note: Versions mentioned in the description apply only to the upstream osbuild-composer-worker package and not the osbuild-composer-worker package as distributed by Centos. See How to fix? for Centos:9 relevant fixed versions and status.

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.

CVSS Scores

version 3.1