Stack-based Buffer Overflow Affecting libpq package, versions <0:12.1-3.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
48.87% (98th 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-RHEL8-LIBPQ-3424448
  • published26 Jul 2021
  • disclosed20 Jun 2019

Introduced: 20 Jun 2019

CVE-2019-10164  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:8 libpq 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 package and not the libpq 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.

CVSS Scores

version 3.1