Stack-based Buffer Overflow Affecting libpq-devel package, versions <0:12.1-3.el8
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-RHEL8-LIBPQDEVEL-3396211
- published 26 Jul 2021
- disclosed 20 Jun 2019
Introduced: 20 Jun 2019
CVE-2019-10164 Open this link in a new tabHow to fix?
Upgrade RHEL:8 libpq-devel to version 0:12.1-3.el8 or higher.
This issue was patched in RHEA-2020:0343.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libpq-devel package and not the libpq-devel package as distributed by RHEL.
See How to fix? for RHEL:8 relevant fixed versions and status.
PostgreSQL versions 10.x before 10.9 and versions 11.x before 11.4 are vulnerable to a stack-based buffer overflow. Any authenticated user can overflow a stack-based buffer by changing the user's own password to a purpose-crafted value. This often suffices to execute arbitrary code as the PostgreSQL operating system account.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10164
- https://access.redhat.com/security/cve/CVE-2019-10164
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MAGE6H4FWLKFLHLWVYNPYGQRPIXTUWGB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TTKEHXGDXYYD6WYDIIQJP4GDQJSENDJK/
- https://security.gentoo.org/glsa/202003-03
- https://www.postgresql.org/about/news/1949/
- https://access.redhat.com/errata/RHEA-2020:0343
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00035.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MAGE6H4FWLKFLHLWVYNPYGQRPIXTUWGB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTKEHXGDXYYD6WYDIIQJP4GDQJSENDJK/