Stack-based Buffer Overflow Affecting postgresql:10/postgresql-test-rpm-macros package, versions <0:10.14-1.module+el8.2.0+7801+be0fed80


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

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-POSTGRESQL-3838629
  • 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 postgresql:10/postgresql-test-rpm-macros to version 0:10.14-1.module+el8.2.0+7801+be0fed80 or higher.
This issue was patched in RHSA-2020:3669.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:10/postgresql-test-rpm-macros package and not the postgresql:10/postgresql-test-rpm-macros 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