SQL Injection Affecting osbuild-composer-dnf-json 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-CENTOS8-OSBUILDCOMPOSERDNFJSON-6419750
  • 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:8 osbuild-composer-dnf-json.

NVD Description

Note: Versions mentioned in the description apply only to the upstream osbuild-composer-dnf-json package and not the osbuild-composer-dnf-json package as distributed by Centos. See How to fix? for Centos:8 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