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


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    72.9% (99th 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 ID SNYK-CENTOS8-POSTGRESQLTESTRPMMACROS-2047023
  • published 26 Jul 2021
  • disclosed 20 Jun 2019

How to fix?

Upgrade Centos:8 postgresql-test-rpm-macros to version 0:10.14-1.module+el8.2.0+7801+be0fed80 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-test-rpm-macros package and not the postgresql-test-rpm-macros package as distributed by Centos. See How to fix? for Centos: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
Expand this section

NVD

8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High