CVE-2016-5423

Impact:
Moderate
Public Date:
2016-08-11
IAVA:
2016-B-0129
CWE:
CWE-822
Bugzilla:
1364001: CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
A flaw was found in the way PostgreSQL server handled certain SQL statements containing CASE/WHEN commands. A remote, authenticated attacker could use a specially crafted SQL statement to cause PostgreSQL to crash or disclose a few bytes of server memory or possibly execute arbitrary code.

Find out more about CVE-2016-5423 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 6.5
Base Metrics AV:N/AC:L/Au:S/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication Single
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

CVSS v3 metrics

CVSS3 Base Score 8.5
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Changed
Confidentiality High
Integrity Impact High
Availability Impact High

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-postgresql94-postgresql) RHSA-2016:1781 2016-08-31
Red Hat Software Collections for Red Hat Enterprise Linux 6 (postgresql92-postgresql) RHSA-2016:1820 2016-09-07
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-postgresql95-postgresql) RHSA-2016:1821 2016-09-07
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-postgresql95-postgresql) RHSA-2016:1821 2016-09-07
Red Hat Software Collections for Red Hat Enterprise Linux 7 (postgresql92-postgresql) RHSA-2016:1820 2016-09-07
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-postgresql94-postgresql) RHSA-2016:1781 2016-08-31
Red Hat Enterprise Linux 7 (postgresql) RHSA-2016:2606 2016-11-03

Affected Packages State

Platform Package State
Red Hat Satellite 5.7 postgresql92-postgresql Affected
Red Hat Enterprise Linux 6 postgresql Will not fix
Red Hat Enterprise Linux 5 postgresql84 Will not fix
Red Hat Enterprise Linux 5 postgresql Will not fix

Acknowledgements

Red Hat would like to thank the PostgreSQL project for reporting this issue. Upstream acknowledges Heikki Linnakangas as the original reporter.

Mitigation

Last Modified