Advisory

USN-5145-1

Also known as: CVE-2021-23214, CVE-2021-23222

Summary

postgresql-10, postgresql-12, postgresql-13 vulnerabilities

Details

Jacob Champion discovered that PostgreSQL incorrectly handled SSL
certificate verification and encryption. A remote attacker could possibly
use this issue to inject arbitrary SQL queries when a connection is first
established.

Severity

Not rated by the source.

Dates

Published
2021-11-11 18:26 UTC
Modified
2026-04-27 15:59 UTC

Affected packages and fixes

postgresql-10

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

10.19-0ubuntu0.18.04.1

Fix

  • Fixed version 10.19-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.9-0ubuntu0.20.04.1 (ecosystem)

Fixed versions

12.9-0ubuntu0.20.04.1

Fix

  • Fixed version 12.9-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