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


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.85% (54th 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 IDSNYK-CENTOS9-OSBUILDCOMPOSERCORE-6419633
  • 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-core.

NVD Description

Note: Versions mentioned in the description apply only to the upstream osbuild-composer-core package and not the osbuild-composer-core 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 Base Scores

version 3.1