CVE-2024-4317

Publication date 14 May 2024

Last updated 24 July 2024


Ubuntu priority

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
postgresql-10 24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Not affected
postgresql-12 24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Not affected
postgresql-14 24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy
Fixed 14.12-0ubuntu0.22.04.1
20.04 LTS focal Not in release
postgresql-15 24.04 LTS noble Not in release
23.10 mantic
Fixed 15.7-0ubuntu0.23.10.1
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
postgresql-16 24.04 LTS noble
Fixed 16.3-0ubuntu0.24.04.1
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
postgresql-9.1 24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
postgresql-9.3 24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
14.04 LTS trusty
Not affected
postgresql-9.5 24.04 LTS noble Not in release
23.10 mantic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
16.04 LTS xenial
Not affected

Notes


leosilva

PostgreSQL 9.3 is end of life upstream, and no updates are are available. Marking as deferred in -esm-main releases.


mdeslaur

only affects 14.x to 16.x

References

Related Ubuntu Security Notices (USN)

Other references