Advisory

USN-4972-1

Also known as: CVE-2021-32027, CVE-2021-32028, CVE-2021-32029

Summary

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

Details

Tom Lane discovered that PostgreSQL incorrect handled certain array
subscripting calculations. An authenticated attacker could possibly use
this issue to overwrite server memory and escalate privileges.
(CVE-2021-32027)

Andres Freund discovered that PostgreSQL incorrect handled certain
INSERT ... ON CONFLICT ... DO UPDATE commands. A remote attacker could
possibly use this issue to read server memory and obtain sensitive
information. (CVE-2021-32028)

Tom Lane discovered that PostgreSQL incorrect handled certain UPDATE ...
RETURNING commands. A remote attacker could possibly use this issue to read
server memory and obtain sensitive information. This issue only affected
Ubuntu 20.04 LTS, Ubuntu 20.10, and Ubuntu 21.04. (CVE-2021-32029)

Severity

Not rated by the source.

Dates

Published
2021-06-01 11:48 UTC
Modified
2026-04-27 18:44 UTC

Affected packages and fixes

postgresql-10

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

10.17-0ubuntu0.18.04.1

Fix

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

Fixed versions

12.7-0ubuntu0.20.04.1

Fix

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