Advisory

USN-4472-1

Also known as: CVE-2020-14349, CVE-2020-14350

Summary

postgresql-10, postgresql-12, postgresql-9.5 vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2020-08-25 12:20 UTC
Modified
2026-04-27 15:48 UTC

Affected packages and fixes

postgresql-9.5

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 9.5.23-0ubuntu0.16.04.1 (ecosystem)

Fixed versions

9.5.23-0ubuntu0.16.04.1

Fix

  • Fixed version 9.5.23-0ubuntu0.16.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-10

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 10.14-0ubuntu0.18.04.1 (ecosystem)

Fixed versions

10.14-0ubuntu0.18.04.1

Fix

  • Fixed version 10.14-0ubuntu0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-12

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 12.4-0ubuntu0.20.04.1 (ecosystem)

Fixed versions

12.4-0ubuntu0.20.04.1

Fix

  • Fixed version 12.4-0ubuntu0.20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences