Improper Initialization Affecting postgresql-docs package, versions <0:9.2.24-1.el7_5
Threat Intelligence
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-RHEL7-POSTGRESQLDOCS-4813145
- published 26 Jul 2021
- disclosed 9 Aug 2018
How to fix?
Upgrade RHEL:7 postgresql-docs 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-docs package and not the postgresql-docs 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.
References
- http://www.securityfocus.com/bid/105054
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10915
- https://www.postgresql.org/about/news/1878/
- https://access.redhat.com/security/cve/CVE-2018-10915
- https://www.debian.org/security/2018/dsa-4269
- https://security.gentoo.org/glsa/201810-08
- https://lists.debian.org/debian-lts-announce/2018/08/msg00012.html
- https://access.redhat.com/errata/RHSA-2018:2557
- http://www.securitytracker.com/id/1041446
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
- https://usn.ubuntu.com/3744-1/