PostgreSQL 9.0 < 9.0.20 / 9.1 < 9.1.16 / 9.2 < 9.2.11 / 9.3 < 9.3.7 / 9.4 < 9.4.2 Multiple Vulnerabilities

critical Nessus Plugin ID 83818

Synopsis

The remote database server is affected by multiple vulnerabilities.

Description

The version of PostgreSQL installed on the remote host is 9.0.x prior to 9.0.20, 9.1.x prior to 9.1.16, 9.2.x prior to 9.2.11, 9.3.x prior to 9.3.7, or 9.4.x prior to 9.4.2. It is, therefore, affected by multiple vulnerabilities :

- A double free memory error exists after authentication timeout, which a remote attacker can utilize to cause the program to crash. (CVE-2015-3165)

- A flaw exists in the printf() functions due to a failure to check for errors. A remote attacker can use this to gain access to sensitive information. (CVE-2015-3166)

- pgcrypto has multiple error messages for decryption with an incorrect key. A remote attacker can use this to recover keys from other systems. (CVE-2015-3167)

Solution

Upgrade to PostgreSQL 9.0.20 / 9.1.16 / 9.2.11 / 9.3.7 / 9.4.2 or later.

See Also

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

https://www.postgresql.org/docs/9.0/release-9-0-20.html

https://www.postgresql.org/docs/9.1/release-9-1-16.html

https://www.postgresql.org/docs/9.2/release-9-2-11.html

http://www.postgresql.org/docs/9.3/static/release-9-3-7.html

https://www.postgresql.org/docs/9.4/release-9-4-2.html

Plugin Details

Severity: Critical

ID: 83818

File Name: postgresql_20150522.nasl

Version: 1.14

Type: local

Family: Databases

Published: 5/27/2015

Updated: 4/4/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2015-3166

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/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: 5/22/2015

Vulnerability Publication Date: 5/22/2015

Reference Information

CVE: CVE-2015-3165, CVE-2015-3166, CVE-2015-3167

BID: 74787, 74789, 74790