Incorrect Calculation of Buffer Size Affecting postgresql-upgrade package, versions <0:9.2.14-1.el7_1


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
2.23% (90th 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-CENTOS7-POSTGRESQLUPGRADE-2054043
  • published26 Jul 2021
  • disclosed8 Oct 2015

Introduced: 8 Oct 2015

CVE-2015-5288  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade Centos:7 postgresql-upgrade to version 0:9.2.14-1.el7_1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-upgrade package and not the postgresql-upgrade package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

The crypt function in contrib/pgcrypto in PostgreSQL before 9.0.23, 9.1.x before 9.1.19, 9.2.x before 9.2.14, 9.3.x before 9.3.10, and 9.4.x before 9.4.5 allows attackers to cause a denial of service (server crash) or read arbitrary server memory via a "too-short" salt.

CVSS Scores

version 3.1