PostgreSQL 9.1.x < 9.1.24 / 9.2.x < 9.2.19 / 9.3.x < 9.3.15 / 9.4.x < 9.4.10 / 9.5.x < 9.5.5 / 9.6.x < 9.6.1 Aggregate Functions Use-after-free DoS

high Nessus Plugin ID 94610

Synopsis

The remote database server is affected by a denial of service vulnerability.

Description

The version of PostgreSQL installed on the remote host is 9.1.x prior to 9.1.24, 9.2.x prior to 9.2.19, 9.3.x prior to 9.3.15, 9.4.x prior to 9.4.10, 9.5.x prior to 9.5.5, or 9.6.x prior to 9.6.1. It is, therefore, affected by a denial of service vulnerability due to a use-after-free error when executing aggregate functions using DISTINCT. An unauthenticated, remote attacker can exploit this to deference already freed memory, resulting in crashing the database.

Solution

Upgrade to PostgreSQL version 9.1.24 / 9.2.19 / 9.3.15 / 9.4.10 / 9.5.5 / 9.6.1 or later.

See Also

https://www.postgresql.org/about/news/1712/

https://www.postgresql.org/docs/current/release-9-1-24.html

https://www.postgresql.org/docs/current/static/release-9-2-19.html

https://www.postgresql.org/docs/current/release-9-3-15.html

https://www.postgresql.org/docs/current/release-9-4-10.html

https://www.postgresql.org/docs/current/release-9-5-5.html

https://www.postgresql.org/docs/current/release-9-6-1.html

Plugin Details

Severity: High

ID: 94610

File Name: postgresql_20161027.nasl

Version: 1.14

Type: local

Agent: windows, macosx, unix

Family: Databases

Published: 11/7/2016

Updated: 4/4/2023

Supported Sensors: Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2016-7048

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:postgresql:postgresql

Exploit Ease: No known exploits are available

Patch Publication Date: 10/27/2016

Vulnerability Publication Date: 10/27/2016

Reference Information

CVE: CVE-2016-7048