USN-6802-1

Type: Security
Severity: Medium
Published: 2024-05-30
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

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 Update Instructions: Run `sudo pro fix USN-6802-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: postgresql-server-dev-14 - 14.12-0ubuntu0.22.04.1 libecpg6 - 14.12-0ubuntu0.22.04.1 libpq-dev - 14.12-0ubuntu0.22.04.1 postgresql-pltcl-14 - 14.12-0ubuntu0.22.04.1 libpgtypes3 - 14.12-0ubuntu0.22.04.1 postgresql-plpython3-14 - 14.12-0ubuntu0.22.04.1 libecpg-dev - 14.12-0ubuntu0.22.04.1 postgresql-14 - 14.12-0ubuntu0.22.04.1 postgresql-plperl-14 - 14.12-0ubuntu0.22.04.1 libpq5 - 14.12-0ubuntu0.22.04.1 postgresql-client-14 - 14.12-0ubuntu0.22.04.1 postgresql-doc-14 - 14.12-0ubuntu0.22.04.1 libecpg-compat3 - 14.12-0ubuntu0.22.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T08:19:53.910Z UTC.

Upstream Advisory

Affected Packages

  • postgresql-server-dev-14 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • libecpg6 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • libpq-dev 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • postgresql-pltcl-14 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • libpgtypes3 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • postgresql-plpython3-14 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • libecpg-dev 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • postgresql-14 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • postgresql-plperl-14 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • libpq5 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • postgresql-client-14 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • postgresql-doc-14 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • libecpg-compat3 14.12-0ubuntu0.22.04.1-14.12-0ubuntu0.22.04.1

  • postgresql-server-dev-16 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • libecpg6 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • postgresql-pltcl-16 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • libpq-dev 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • postgresql-16 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • libpgtypes3 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • libecpg-dev 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • postgresql-plperl-16 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • libpq5 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • postgresql-client-16 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • postgresql-doc-16 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • postgresql-plpython3-16 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

  • libecpg-compat3 16.3-0ubuntu0.24.04.1-16.3-0ubuntu0.24.04.1

Interested in being alerted when there are new versions of postgresql-server-dev-14 and the other packages? Set up an alert.
USN-6802-1: PostgreSQL vulnerability | Package Alert