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

Synopsis

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

Description

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.

Solution

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

See Also

https://usn.ubuntu.com/3066-1/

Plugin Details

Severity: Medium

ID: 93047

File Name: ubuntu_USN-3066-1.nasl

Version: 2.9

Type: local

Agent: unix

Published: 2016/08/19

Modified: 2018/12/01

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 6.5

Temporal Score: 4.8

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 8.3

Temporal Score: 7.2

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

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

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2016/08/18

Reference Information

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

USN: 3066-1