Ubuntu 12.04 LTS / 14.04 LTS / 16.04 LTS : postgresql-9.1, postgresql-9.3, postgresql-9.5 vulnerabilities (USN-3066-1)

Medium Nessus Plugin ID 93047


The remote Ubuntu host is missing one or more security-related patches.


Heikki Linnakangas discovered that PostgreSQL incorrectly handled certain nested CASE/WHEN expressions. A remote attacker could possibly use this issue to cause PostgreSQL to crash, resulting in a denial of service. (CVE-2016-5423)

Nathan Bossart discovered that PostgreSQL incorrectly handled special characters in database and role names. A remote attacker could possibly use this issue to escalate privileges. (CVE-2016-5424).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected postgresql-9.1, postgresql-9.3 and / or postgresql-9.5 packages.

Plugin Details

Severity: Medium

ID: 93047

File Name: ubuntu_USN-3066-1.nasl

Version: $Revision: 2.6 $

Type: local

Agent: unix

Published: 2016/08/19

Modified: 2017/05/19

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.5

Temporal Score: 5.4

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 8.3

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:postgresql-9.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-9.3, p-cpe:/a:canonical:ubuntu_linux:postgresql-9.5, cpe:/o:canonical:ubuntu_linux:12.04:-:lts, cpe:/o:canonical:ubuntu_linux:14.04, cpe:/o:canonical:ubuntu_linux:16.04

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2016/08/18

Reference Information

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

OSVDB: 142811, 142826

USN: 3066-1