Skip to content
OpenAdvisories
Low USN-6802-1 1 CVE

postgresql-14, postgresql-15, postgresql-16 vulnerability

Published May 30, 2024 · Updated Apr 22, 2026

Summary

Lukas Fittl discovered that PostgreSQL incorrectly performed authorization
in the built-in pg_stats_ext and pg_stats_ext_exprs views. An unprivileged
database user can use this issue to read most common values and other
statistics from CREATE STATISTICS commands of other users.

NOTE: This update will only fix fresh PostgreSQL installations. Current
PostgreSQL installations will remain vulnerable to this issue until manual
steps are performed. Please see the instructions in the changelog located
at /usr/share/doc/postgresql-*/changelog.Debian.gz after the updated
packages have been installed, or in the PostgreSQL release notes located
here:

https://www.postgresql.org/docs/16/release-16-3.html
https://www.postgresql.org/docs/15/release-15-7.html
https://www.postgresql.org/docs/14/release-14-12.html

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS postgresql-14 14.12-0ubuntu0.22.04.1
Ubuntu · 24.04 LTS 24.04:LTS postgresql-16 16.3-0ubuntu0.24.04.1

Vulnerabilities 1

  • Low 3.1

    PostgreSQL pg_stats_ext and pg_stats_ext_exprs lack authorization checks

    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 colum…

References

  • report
    https://ubuntu.com/security/CVE-2024-4317