SQL Injection Affecting osbuild-composer package, versions *


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.04% (12th 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 ID SNYK-CENTOS8-OSBUILDCOMPOSER-6415125
  • published 7 Mar 2024
  • disclosed 6 Mar 2024

How to fix?

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

NVD Description

Note: Versions mentioned in the description apply only to the upstream osbuild-composer package and not the osbuild-composer 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. SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control. The problem is resolved in v4.18.2 and v5.5.4. As a workaround, reject user input large enough to cause a single query or bind message to exceed 4 GB in size.

CVSS Scores

version 3.1
Expand this section

Red Hat

8.1 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High