Buffer Overflow Affecting postgresql package, versions [,9.0.19)[9.1.0,9.1.15)[9.2.0,9.2.10)[9.3.0,9.3.6)[9.4.0,9.4.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (70th 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-UNMANAGED-POSTGRESQL-2335990
  • published12 Jan 2022
  • disclosed27 Jan 2020
  • creditUnknown

Introduced: 27 Jan 2020

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

How to fix?

Upgrade postgresql to version 9.0.19, 9.1.15, 9.2.10, 9.3.6, 9.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. 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.

References

CVSS Scores

version 3.1