CVE-2016-5423
postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
Overview
Description
PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 allow remote authenticated users to cause a denial of service (NULL pointer dereference and server crash), obtain sensitive memory information, or possibly execute arbitrary code via (1) a CASE expression within the test value subexpression of another CASE or (2) inlining of an SQL function that implements the equality operator used for a CASE expression involving values of different types.
Source: OX vulnerability database
Severity
8.3 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Weakness: CWE-476
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 8 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | postgresql +10 | 9.2.18-1.el7 |
Red Hat 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | postgresql92-postgresql +10 | 0:9.2.18-1.el7 | RHSA-2016:1820 |
| 7 | postgresql +10 | 0:9.2.18-1.el7 | RHSA-2016:2606 |
| 7 | rh-postgresql94-postgresql +11 | 0:9.4.9-1.el7 | RHSA-2016:1781 |
| 7 | rh-postgresql95-postgresql +10 | 0:9.5.4-1.el7 | RHSA-2016:1821 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | postgresql93 +8 | 9.3.15-1.1 | openSUSE-SU-2024:10256-1 |
| Tumbleweed | postgresql94 +8 | 9.4.10-1.1 | openSUSE-SU-2024:10030-1 |
| Tumbleweed | libecpg6 +12 | 9.5.4-1.2 | openSUSE-SU-2024:10273-1 |
References
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1781.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1820.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-1821.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2606.html
- www.debian.org http://www.debian.org/security/2016/dsa-3646
- www.securityfocus.com http://www.securityfocus.com/bid/92433
- www.securitytracker.com http://www.securitytracker.com/id/1036617
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2425
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-5423
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1364001
Show all 22 references
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-5423.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2016-2606.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-5423
- security.gentoo.org https://security.gentoo.org/glsa/201701-33
- ubuntu.com https://ubuntu.com/security/notices/USN-3066-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-5423
- www.postgresql.org https://www.postgresql.org/about/news/1688/
- www.postgresql.org https://www.postgresql.org/docs/current/static/release-9-1-23.html
- www.postgresql.org https://www.postgresql.org/docs/current/static/release-9-2-18.html
- www.postgresql.org https://www.postgresql.org/docs/current/static/release-9-3-14.html
- www.postgresql.org https://www.postgresql.org/docs/current/static/release-9-4-9.html
- www.postgresql.org https://www.postgresql.org/docs/current/static/release-9-5-4.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.