PostgreSQL 9.1.x < 9.1.23 / 9.2.x < 9.2.18 / 9.3.x < 9.3.14 / 9.4.x < 9.4.9 / 9.5.x < 9.5.4 Multiple Vulnerabilities

high Nessus Network Monitor Plugin ID 9552

Synopsis

The database running on the remote server is affected by multiple vulnerabilities.

Description

The version of PostgreSQL installed on the remote host is 9.1.x prior or equal to 9.1.22, 9.2.x prior or equal to 9.2.17, 9.3.x prior or equal to 9.3.13, or 9.4.x prior or equal to 9.4.8, or 9.5.x prior or equal to 9.5.3 and is affected by multiple vulnerabilities :

- A flaw is triggered during the handling of specially crafted nest CASE expressions. This may allow an authenticated attacker to crash the database.
- A flaw exists in 'pg_get_expr()' that is triggered during the handling of inconsistent values. This may allow an authenticated attacker to crash the database.
- An overflow condition exists in the 'to_number()' function. The issue is triggered as input strings are not properly validated. This may allow an authenticated attacker to cause a buffer overflow, resulting in a denial of service.

Solution

Upgrade to PostgreSQL 9.1.23 / 9.2.18 / 9.3.14 / 9.4.9 / 9.5.4, or later.

See Also

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

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

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

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

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

Plugin Details

Severity: High

ID: 9552

Family: Database

Published: 9/9/2016

Updated: 3/6/2019

Nessus ID: 93050

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.8

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.4

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

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

Vulnerability Information

CPE: cpe:/a:postgresql:postgresql

Patch Publication Date: 8/11/2016

Vulnerability Publication Date: 8/11/2016

Reference Information

CVE: CVE-2016-5423, CVE-2016-5424

BID: 92433