Bug 1508823 (CVE-2017-15099) - CVE-2017-15099 postgresql: INSERT ... ON CONFLICT DO UPDATE fails to enforce SELECT privileges
Summary: CVE-2017-15099 postgresql: INSERT ... ON CONFLICT DO UPDATE fails to enforce ...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-15099
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1612669 1612670 1612671 1612672
Blocks: 1508824
TreeView+ depends on / blocked
 
Reported: 2017-11-02 10:03 UTC by Adam Mariš
Modified: 2021-03-11 16:11 UTC (History)
20 users (show)

Fixed In Version: postgresql 9.5.10, postgresql 9.6.6, postgresql 10.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-13 10:38:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2511 0 None None None 2018-08-20 10:50:29 UTC
Red Hat Product Errata RHSA-2018:2566 0 None None None 2018-08-27 08:33:50 UTC

Description Adam Mariš 2017-11-02 10:03:17 UTC
INSERT ... ON CONFLICT DO UPDATE commands disclose table contents that the
invoker lacks privilege to read. These exploits affect only tables where the
attacker lacks full read access but has both INSERT and UPDATE privileges.
Exploits bypass row level security policies and lack of SELECT privilege.
Even then, not all columns are subject to disclosure.

Vulnerable Versions: 9.5 - 10

Comment 1 Adam Mariš 2017-11-02 10:03:27 UTC
Acknowledgments:

Name: the PostgreSQL project
Upstream: Dean Rasheed

Comment 2 Pedro Yóssis Silva Barbosa 2017-11-13 08:58:31 UTC
Statement:

This issue affects the versions of rh-postgresql95-postgresql, and rh-postgresql96-postgresql as shipped with Red Hat Software Collections 3. Red Hat Product Security has rated this issue as having Low security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 3 Pedro Yóssis Silva Barbosa 2017-11-13 10:08:36 UTC
External References:

https://www.postgresql.org/about/news/1801/

Comment 4 Pedro Yóssis Silva Barbosa 2017-11-22 19:51:26 UTC
Upstream commit:

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=87b2ebd

Comment 5 errata-xmlrpc 2018-08-20 10:50:21 UTC
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

Comment 6 errata-xmlrpc 2018-08-27 08:33:41 UTC
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


Note You need to log in before you can comment on or make changes to this bug.