Heap-based Buffer Overflow Affecting postgresql-plpython 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% (71st 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 ID SNYK-CENTOS7-POSTGRESQLPLPYTHON-2044979
  • published 26 Jul 2021
  • disclosed 16 Feb 2015

How to fix?

Upgrade Centos:7 postgresql-plpython 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-plpython package and not the postgresql-plpython 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
Expand this section

NVD

8.8 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

Red Hat

5.5 medium