Improper Initialization Affecting postgresql-contrib package, versions <0:9.2.24-1.el7_5


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

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 IDSNYK-RHEL7-POSTGRESQLCONTRIB-4793436
  • published26 Jul 2021
  • disclosed9 Aug 2018

Introduced: 9 Aug 2018

CVE-2018-10915  (opens in a new tab)
CWE-665  (opens in a new tab)
CWE-200  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade RHEL:7 postgresql-contrib to version 0:9.2.24-1.el7_5 or higher.
This issue was patched in RHSA-2018:2557.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-contrib package and not the postgresql-contrib package as distributed by RHEL. See How to fix? for RHEL:7 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.