Advisory

USN-6656-1

Also known as: CVE-2024-0985

Summary

postgresql-12, postgresql-14, postgresql-15 vulnerability

Details

It was discovered that PostgreSQL incorrectly handled dropping privileges
when handling REFRESH MATERIALIZED VIEW CONCURRENTLY commands. If a user or
automatic system were tricked into running a specially crafted command, a
remote attacker could possibly use this issue to execute arbitrary SQL
functions.

Severity

Not rated by the source.

Dates

Published
2024-02-26 13:40 UTC
Modified
2026-04-27 17:06 UTC

Affected packages and fixes

postgresql-12

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

12.18-0ubuntu0.20.04.1

Fix

  • Fixed version 12.18-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.

postgresql-14

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 14.11-0ubuntu0.22.04.1 (ecosystem)

Fixed versions

14.11-0ubuntu0.22.04.1

Fix

  • Fixed version 14.11-0ubuntu0.22.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