Bug 2279935 (CVE-2024-4317) - CVE-2024-4317 postgresql: PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks
Summary: CVE-2024-4317 postgresql: PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack...
Keywords:
Status: NEW
Alias: CVE-2024-4317
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2279936 2279937 2279938 2279939 2279940 2279941
Blocks: 2290819
TreeView+ depends on / blocked
 
Reported: 2024-05-10 03:48 UTC by Avinash Hanwate
Modified: 2024-09-09 16:10 UTC (History)
14 users (show)

Fixed In Version: postgresql 16.3, postgresql 15.7, postgresql 14.12
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in PostgreSQL. Missing authorization in the built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:6034 0 None None None 2024-08-29 12:18:50 UTC
Red Hat Product Errata RHBA-2024:6229 0 None None None 2024-09-03 14:08:49 UTC
Red Hat Product Errata RHBA-2024:6479 0 None None None 2024-09-09 08:50:10 UTC
Red Hat Product Errata RHBA-2024:6491 0 None None None 2024-09-09 14:20:54 UTC
Red Hat Product Errata RHBA-2024:6498 0 None None None 2024-09-09 16:10:11 UTC
Red Hat Product Errata RHSA-2024:5927 0 None None None 2024-08-28 12:04:30 UTC
Red Hat Product Errata RHSA-2024:5929 0 None None None 2024-08-28 11:39:52 UTC
Red Hat Product Errata RHSA-2024:6001 0 None None None 2024-08-29 08:50:40 UTC
Red Hat Product Errata RHSA-2024:6020 0 None None None 2024-08-29 10:53:59 UTC
Red Hat Product Errata RHSA-2024:6142 0 None None None 2024-09-03 02:19:33 UTC

Description Avinash Hanwate 2024-05-10 03:48:44 UTC
Missing authorization in PostgreSQL built-in views pg_stats_ext and pg_stats_ext_exprs allows an unprivileged database user to read most common values and other statistics from CREATE STATISTICS commands of other users. The most common values may reveal column values the eavesdropper could not otherwise read or results of functions they cannot execute. Installing an unaffected version only fixes fresh PostgreSQL installations, namely those that are created with the initdb utility after installing that version. Current PostgreSQL installations will remain vulnerable until they follow the instructions in the release notes. Within major versions 14-16, minor versions before PostgreSQL 16.3, 15.7, and 14.12 are affected. Versions before PostgreSQL 14 are unaffected.

Reference:
https://www.postgresql.org/support/security/CVE-2024-4317/

Comment 1 Avinash Hanwate 2024-05-10 03:58:55 UTC
Created mingw-postgresql tracking bugs for this issue:

Affects: fedora-all [bug 2279936]


Created postgresql tracking bugs for this issue:

Affects: fedora-all [bug 2279937]


Created postgresql15 tracking bugs for this issue:

Affects: fedora-all [bug 2279938]


Created postgresql16 tracking bugs for this issue:

Affects: fedora-all [bug 2279939]


Created postgresql:14/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 2279940]


Created postgresql:15/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 2279941]

Comment 4 errata-xmlrpc 2024-08-28 11:39:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:5929 https://access.redhat.com/errata/RHSA-2024:5929

Comment 5 errata-xmlrpc 2024-08-28 12:04:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:5927 https://access.redhat.com/errata/RHSA-2024:5927

Comment 6 errata-xmlrpc 2024-08-29 08:50:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:6001 https://access.redhat.com/errata/RHSA-2024:6001

Comment 7 errata-xmlrpc 2024-08-29 10:53:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:6020 https://access.redhat.com/errata/RHSA-2024:6020

Comment 8 errata-xmlrpc 2024-09-03 02:19:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:6142 https://access.redhat.com/errata/RHSA-2024:6142


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