Cloud Foundry Logo
blog single gear
Security Advisory

USN-6296-1: PostgreSQL vulnerabilities

USN-6296-1: PostgreSQL vulnerabilities




Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 22.04


It was discovered that PostgreSQL incorrectly handled certain extension script substitutions. An attacker having database-level CREATE privileges can use this issue to execute arbitrary code as the bootstrap superuser. (CVE-2023-39417) It was discovered that PostgreSQL incorrectly handled the MERGE command. A remote attacker could possibly use this issue to bypass certain UPDATE and SELECT policies. This issue only affected Ubuntu 23.04. (CVE-2023-39418) Update Instructions: Run `sudo pro fix USN-6296-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: postgresql-server-dev-12 – 12.16-0ubuntu0.20.04.1 libecpg6 – 12.16-0ubuntu0.20.04.1 libpq-dev – 12.16-0ubuntu0.20.04.1 libpgtypes3 – 12.16-0ubuntu0.20.04.1 postgresql-plperl-12 – 12.16-0ubuntu0.20.04.1 postgresql-pltcl-12 – 12.16-0ubuntu0.20.04.1 libecpg-dev – 12.16-0ubuntu0.20.04.1 postgresql-plpython3-12 – 12.16-0ubuntu0.20.04.1 libpq5 – 12.16-0ubuntu0.20.04.1 postgresql-doc-12 – 12.16-0ubuntu0.20.04.1 postgresql-12 – 12.16-0ubuntu0.20.04.1 postgresql-client-12 – 12.16-0ubuntu0.20.04.1 libecpg-compat3 – 12.16-0ubuntu0.20.04.1 No subscription required

Affected Cloud Foundry Products and Versions

Severity is unknown unless otherwise noted.

  • cflinuxfs4
    • All versions prior to 1.31.0
  • CF Deployment
    • All versions prior to 32.2.0


Users of affected products are strongly encouraged to follow the mitigations below.

The Cloud Foundry project recommends upgrading the following releases:

  • cflinuxfs4
    • Upgrade all versions to 1.31.0 or greater
  • CF Deployment
    • Upgrade all versions to 32.2.0 or greater



2024-03-18: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR