USN-5038-1

Type: Security
Severity: High
Published: 2021-08-12
Ubuntu 20.04 LTS (Focal Fossa)

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

Data current

Last supporting evidence check: 2026-11-28T03:50:42.912Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T03:50:42.912Z UTC. Last updated 2025-11-26T07:48:30.437Z 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

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