Advisory

UBUNTU-CVE-2023-5869

Also known as: CVE-2023-5869

Summary

The record has no summary.

Details

A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through missing overflow checks during SQL array value modification. This issue exists due to an integer overflow during array modification where a remote user can trigger the overflow by providing specially crafted data. This enables the execution of arbitrary code on the target system, allowing users to write arbitrary bytes to memory and extensively read the server's memory.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2023-11-15 00:00 UTC
Modified
2026-04-22 14:34 UTC

Affected packages and fixes

postgresql-12

Debian packages (deb) · Ubuntu 20.04

Affected

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

Fixed versions

12.17-0ubuntu0.20.04.1

Fix

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

Fixed versions

14.10-0ubuntu0.22.04.1

Fix

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