Bug 1612619 (CVE-2018-10925)
| Summary: | CVE-2018-10925 postgresql: Missing authorization and memory disclosure in INSERT ... ON CONFLICT DO UPDATE statements | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Sam Fowler <sfowler> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | abergmann, abhgupta, anon.amish, bkearney, bmcclain, cmacedo, dajohnso, databases-maint, dbaker, dblechte, devrim, dfediuck, dffrench, dmetzger, drusso, eedri, gblomqui, gmainwar, gmccullo, gtanzill, hhorak, jfrey, jhardy, jlaska, jmadigan, jmlich83, jokerman, jorton, jprause, jshepherd, jstanek, kdixon, lgriffin, meissner, mgoldboi, michal.skrivanek, mike, ngough, nlevy, obarenbo, pkajaba, pkubat, praiskup, pwright, roliveri, rpetrell, sbonazzo, security-response-team, sherold, simaishi, smcdonal, sthangav, tgl, tlestach, trankin, trepel, yturgema |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | postgresql 10.5, postgresql 9.6.10, postgresql 9.5.14 | Doc Type: | If docs needed, set a value |
| Doc Text: |
It was discovered that PostgreSQL failed to properly check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE". An attacker with "CREATE TABLE" privileges could exploit this to read arbitrary bytes server memory. If the attacker also had certain "INSERT" and limited "UPDATE" privileges to a particular table, they could exploit this to update other columns in the same table.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-10 10:35:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1612669, 1612670, 1612671, 1612672, 1612673, 1612674, 1612675, 1612676, 1612684, 1614396, 1614397, 1614399, 1614402, 1614582, 1614795, 1614796, 1614797, 1616249, 1622783, 1622784 | ||
| Bug Blocks: | 1612620 | ||
|
Description
Sam Fowler
2018-08-06 01:13:17 UTC
"ON CONFLICT DO UPDATE" was introduced in PostgreSQL 9.5; versions 9.4 and earlier do not support this feature and thus are not vulnerable to this CVE. Earlier versions were mentioned in the previous comment as this is part of a combined upstream security update, also including CVE-2018-10915. Acknowledgments: Name: the PostgreSQL project External References: https://www.postgresql.org/about/news/1878/ Created mingw-postgresql tracking bugs for this issue: Affects: epel-7 [bug 1614397] Affects: fedora-all [bug 1614399] Created postgresql tracking bugs for this issue: Affects: fedora-all [bug 1614402] Tower is affected as is using a vulnerable PostgreSQL version. Tower will embedded the fixed version in their next releases (3.1.8 and 3.2.6) Upstream commit: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=b8a1247a34e234be6becf7f70b9f1e8e9369db64 Related upstream mailing list discussion: https://www.postgresql.org/message-id/flat/CAFYwGJ0xfzy8jaK80hVN2eUWr6huce0RU8AgU04MGD00igqkTg%40mail.gmail.com Statement: Red Hat Virtualization includes vulnerable versions of postgresql. However this flaw is not known to be exploitable under any supported configuration of Red Hat Virtualization. A future update may address this issue. This issue affects the versions of the postsgresql package as shipped with Red Hat Satellite 5.8. However, this flaw is not known to be exploitable under any supported scenario in Satellite 5.8. A future update may address this issue. This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS Via RHSA-2018:2511 https://access.redhat.com/errata/RHSA-2018:2511 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS Via RHSA-2018:2565 https://access.redhat.com/errata/RHSA-2018:2565 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS Via RHSA-2018:2566 https://access.redhat.com/errata/RHSA-2018:2566 This issue has been addressed in the following products: CloudForms Management Engine 5.9 Via RHSA-2018:3816 https://access.redhat.com/errata/RHSA-2018:3816 |