PostgreSQL 9.2.x < 9.2.20 / 9.3.x < 9.3.16 / 9.4.x < 9.4.11 / 9.5.x < 9.5.6 / 9.6.x < 9.6.2 Multiple Vulnerabilities

high Nessus Plugin ID 97435

Synopsis

The remote database server is affected by multiple vulnerabilities.

Description

The version of PostgreSQL installed on the remote host is 9.2.x prior to 9.2.20, 9.3.x prior to 9.3.16, 9.4.x prior to 9.4.11, 9.5.x prior to 9.5.6, or 9.6.x prior to 9.6.2. It is, therefore, affected by multiple vulnerabilities :

- An off-by-one buffer overflow condition exists in the quote_literal_cstr() function due to improper validation of certain input when it is encased entirely in single quotes or backslashes. An unauthenticated, remote attacker can exploit this to cause a denial of service condition.

- A flaw exists when handling multiple concurrent calls of the pg_strat_backup() and pg_stop_backup() functions.
An unauthenticated, remote attacker can exploit this to cause a denial of service condition.

- An off-by-one buffer overflow condition exists due to improper validation of certain input when handling a filename supplied to ecpg that ends with a dot. An unauthenticated, remote attacker can exploit this to cause a denial of service condition or potentially the execution of arbitrary code.

Solution

Upgrade to PostgreSQL version 9.2.20 / 9.3.16 / 9.4.11 / 9.5.6 / 9.6.2 or later.

See Also

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 97435

File Name: postgresql_20170209.nasl

Version: 1.14

Type: local

Agent: windows, macosx, unix

Family: Databases

Published: 2/28/2017

Updated: 10/23/2024

Configuration: Enable thorough checks

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

Risk Information

CVSS Score Rationale: Score based on analysis of the vendor advisory.

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: manual

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: cpe:/a:postgresql:postgresql

Patch Publication Date: 2/9/2017

Vulnerability Publication Date: 2/9/2017