Heap-based Buffer Overflow Affecting postgresql-server package, versions <0:9.2.10-2.el7_1


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.32% (72nd 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-POSTGRESQLSERVER-2045843
  • published26 Jul 2021
  • disclosed16 Feb 2015

Introduced: 16 Feb 2015

CVE-2015-0241  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:7 postgresql-server to version 0:9.2.10-2.el7_1 or higher.

NVD Description

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

The to_char function in PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 allows remote authenticated users to cause a denial of service (crash) or possibly execute arbitrary code via a (1) large number of digits when processing a numeric formatting template, which triggers a buffer over-read, or (2) crafted timestamp formatting template, which triggers a buffer overflow.

CVSS Scores

version 3.1