Advisory

USN-6296-1

Also known as: CVE-2023-39417, CVE-2023-39418

Summary

postgresql-12, postgresql-14, postgresql-15 vulnerabilities

Details

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)

Severity

Not rated by the source.

Dates

Published
2023-08-17 11:56 UTC
Modified
2026-04-27 17:02 UTC

Affected packages and fixes

postgresql-12

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

12.16-0ubuntu0.20.04.1

Fix

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

Fixed versions

14.9-0ubuntu0.22.04.1

Fix

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