SQL Injection Affecting postgresql15 package, versions <10.5-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    0.26% (67th 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-ALPINE320-POSTGRESQL15-7010987
  • published 23 May 2024
  • disclosed 9 Aug 2018

How to fix?

Upgrade Alpine:3.20 postgresql15 to version 10.5-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15 package and not the postgresql15 package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between connections. If an affected version of libpq was used with "host" or "hostaddr" connection parameters from untrusted input, attackers could bypass client-side connection security features, obtain access to higher privileged connections or potentially cause other impact through SQL injection, by causing the PQescape() functions to malfunction. Postgresql versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 are affected.