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


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux 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-RHEL7-POSTGRESQLCONTRIB-5057986
  • 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 RHEL:7 postgresql-contrib to version 0:9.2.10-2.el7_1 or higher.
This issue was patched in RHSA-2015:0750.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-contrib package and not the postgresql-contrib package as distributed by RHEL. See How to fix? for RHEL: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