USN-4472-1

Type: Security
Severity: Medium
Published: 2020-08-25
Ubuntu 20.04 LTS (Focal Fossa)

Noah Misch discovered that PostgreSQL incorrectly handled the search_path setting when used with logical replication. A remote attacker could possibly use this issue to execute arbitrary SQL code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14349) Andres Freund discovered that PostgreSQL incorrectly handled search path elements in CREATE EXTENSION. A remote attacker could possibly use this issue to execute arbitrary SQL code. (CVE-2020-14350) Update Instructions: Run `sudo pro fix USN-4472-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libpq5 - 12.4-0ubuntu0.20.04.1 postgresql-server-dev-12 - 12.4-0ubuntu0.20.04.1 libecpg-dev - 12.4-0ubuntu0.20.04.1 libecpg6 - 12.4-0ubuntu0.20.04.1 postgresql-plpython3-12 - 12.4-0ubuntu0.20.04.1 libpgtypes3 - 12.4-0ubuntu0.20.04.1 postgresql-plperl-12 - 12.4-0ubuntu0.20.04.1 postgresql-pltcl-12 - 12.4-0ubuntu0.20.04.1 libpq-dev - 12.4-0ubuntu0.20.04.1 postgresql-doc-12 - 12.4-0ubuntu0.20.04.1 postgresql-12 - 12.4-0ubuntu0.20.04.1 postgresql-client-12 - 12.4-0ubuntu0.20.04.1 libecpg-compat3 - 12.4-0ubuntu0.20.04.1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:19:01.516Z UTC.

Upstream Advisory

Affected Packages

  • libpq5 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • postgresql-server-dev-12 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • libecpg-dev 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • libecpg6 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • postgresql-plpython3-12 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • libpgtypes3 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • postgresql-plperl-12 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • postgresql-pltcl-12 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • libpq-dev 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • postgresql-doc-12 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • postgresql-12 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • postgresql-client-12 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

  • libecpg-compat3 12.4-0ubuntu0.20.04.1-12.4-0ubuntu0.20.04.1

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