Buffer Overflow Affecting postgresql-contrib package, versions <0:8.4.20-2.el6_6


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.29% (69th 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-ORACLE6-POSTGRESQLCONTRIB-2491724
  • published10 Apr 2022
  • disclosed27 Jan 2020

Introduced: 27 Jan 2020

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

How to fix?

Upgrade Oracle:6 postgresql-contrib to version 0:8.4.20-2.el6_6 or higher.
This issue was patched in ELSA-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 Oracle. See How to fix? for Oracle:6 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