USN-5038-1
It was discovered that the PostgresQL planner could create incorrect plans in certain circumstances. A remote attacker could use this issue to cause PostgreSQL to crash, resulting in a denial of service, or possibly obtain sensitive information from memory. This issue only affected Ubuntu 20.04 LTS and Ubuntu 21.04. (CVE-2021-3677) It was discovered that PostgreSQL incorrectly handled certain SSL renegotiation ClientHello messages from clients. A remote attacker could possibly use this issue to cause PostgreSQL to crash, resulting in a denial of service. (CVE-2021-3449) Update Instructions: Run `sudo pro fix USN-5038-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: postgresql-server-dev-12 - 12.8-0ubuntu0.20.04.1 libpq-dev - 12.8-0ubuntu0.20.04.1 libecpg6 - 12.8-0ubuntu0.20.04.1 libpq5 - 12.8-0ubuntu0.20.04.1 libpgtypes3 - 12.8-0ubuntu0.20.04.1 postgresql-plperl-12 - 12.8-0ubuntu0.20.04.1 postgresql-pltcl-12 - 12.8-0ubuntu0.20.04.1 libecpg-dev - 12.8-0ubuntu0.20.04.1 postgresql-plpython3-12 - 12.8-0ubuntu0.20.04.1 postgresql-doc-12 - 12.8-0ubuntu0.20.04.1 postgresql-12 - 12.8-0ubuntu0.20.04.1 postgresql-client-12 - 12.8-0ubuntu0.20.04.1 libecpg-compat3 - 12.8-0ubuntu0.20.04.1 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T03:50:42.912Z UTC
Upstream Advisory
Affected Packages
postgresql-server-dev-12 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
libpq-dev 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
libecpg6 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
libpq5 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
libpgtypes3 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
postgresql-plperl-12 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
postgresql-pltcl-12 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
libecpg-dev 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
postgresql-plpython3-12 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
postgresql-doc-12 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
postgresql-12 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
postgresql-client-12 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1
libecpg-compat3 12.8-0ubuntu0.20.04.1-12.8-0ubuntu0.20.04.1