CVE-2016-5423
published 2016-12-09CVE-2016-5423: 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…
PriorityP346high8.3CVSS 3.0
AVNACLPRLUINSUCLIHAH
EPSS
5.96%
92.5th percentile
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.
Affected
47 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| postgresql | postgresql | <= 9.1.22 | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | — | — |
CVSS provenance
nvdv3.08.3HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
osv8.3HIGH
vendor_redhat8.3HIGH
vendor_ubuntu8.3HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
PostgreSQL vulnerabilities
vendor_ubuntu·2016-08-18·CVSS 8.3
CVE-2016-5423 [HIGH] PostgreSQL vulnerabilities
Title: PostgreSQL vulnerabilities
Summary: Several security issues were fixed in PostgreSQL.
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)
Instructions: This update uses a new upstream release, which includes additional bug
fixes. After a standard system update you need to restart PostgreSQL to
make all the necessary changes.
Red Hat
postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
vendor_redhat·2016-08-11·CVSS 8.3
CVE-2016-5423 [HIGH] CWE-822 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
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.
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
GHSA
GHSA-h824-5q6w-q27x: PostgreSQL before 9
ghsa_unreviewed·2022-05-14
CVE-2016-5423 [HIGH] CWE-476 GHSA-h824-5q6w-q27x: PostgreSQL before 9
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.
OSV
postgresql-9.1, postgresql-9.3, postgresql-9.5 vulnerabilities
osv·2016-08-18·CVSS 8.3
CVE-2016-5423 [HIGH] postgresql-9.1, postgresql-9.3, postgresql-9.5 vulnerabilities
postgresql-9.1, postgresql-9.3, postgresql-9.5 vulnerabilities
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)
OSV
CVE-2016-5423: PostgreSQL before 9
osv·2016-08-11·CVSS 8.3
CVE-2016-5423 [HIGH] CVE-2016-5423: PostgreSQL before 9
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference [fedora-all]
bugzilla·2016-08-11·CVSS 8.3
CVE-2016-5423 [HIGH] CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference [fedora-all]
CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multip
Bugzilla
CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
bugzilla·2016-08-04·CVSS 8.3
CVE-2016-5423 [HIGH] CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
CVE-2016-5423 postgresql: CASE/WHEN with inlining can cause untrusted pointer dereference
It was discovered that certain SQL statements containing CASE/WHEN commands could crash the PostgreSQL server, or disclose a few bytes of server memory, potentially leading to arbitrary code execution.
Discussion:
Acknowledgments:
Name: the PostgreSQL project
Upstream: Heikki Linnakangas
---
Public via:
https://www.postgresql.org/about/news/1688/
---
Created postgresql tracking bugs for this issue:
Affects: fedora-all [bug 1366344]
---
Upstream patch:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=f0c7b789ab12fbc8248b671c7882dd96ac932ef4
---
postgresql-9.5.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it i
http://rhn.redhat.com/errata/RHSA-2016-1781.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1820.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1821.htmlhttp://rhn.redhat.com/errata/RHSA-2016-2606.htmlhttp://www.debian.org/security/2016/dsa-3646http://www.securityfocus.com/bid/92433http://www.securitytracker.com/id/1036617https://access.redhat.com/errata/RHSA-2017:2425https://bugzilla.redhat.com/show_bug.cgi?id=1364001https://security.gentoo.org/glsa/201701-33https://www.postgresql.org/about/news/1688/https://www.postgresql.org/docs/current/static/release-9-1-23.htmlhttps://www.postgresql.org/docs/current/static/release-9-2-18.htmlhttps://www.postgresql.org/docs/current/static/release-9-3-14.htmlhttps://www.postgresql.org/docs/current/static/release-9-4-9.htmlhttps://www.postgresql.org/docs/current/static/release-9-5-4.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1781.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1820.htmlhttp://rhn.redhat.com/errata/RHSA-2016-1821.htmlhttp://rhn.redhat.com/errata/RHSA-2016-2606.htmlhttp://www.debian.org/security/2016/dsa-3646http://www.securityfocus.com/bid/92433http://www.securitytracker.com/id/1036617https://access.redhat.com/errata/RHSA-2017:2425https://bugzilla.redhat.com/show_bug.cgi?id=1364001https://security.gentoo.org/glsa/201701-33https://www.postgresql.org/about/news/1688/https://www.postgresql.org/docs/current/static/release-9-1-23.htmlhttps://www.postgresql.org/docs/current/static/release-9-2-18.htmlhttps://www.postgresql.org/docs/current/static/release-9-3-14.htmlhttps://www.postgresql.org/docs/current/static/release-9-4-9.htmlhttps://www.postgresql.org/docs/current/static/release-9-5-4.html
2016-12-09
Published