VDB

CVE-2023-5869

CVE-2023-5869 PUBLISHED CVSS 8.8 HIGH

Postgresql: buffer overrun from integer overflow in array modification

Reported by redhat · Published December 10, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresql15Alpine15.5-r0
postgresql15-testAmazon Linux15.5-1.amzn2023.0.1
postgresqlAmazon Linux9.2.24-8.amzn2
postgresql-11Wolfi11.22-r0
postgresql15-upgradeAmazon Linux15.5-1.amzn2023.0.1
postgresql-12Wolfi12.17-r0
postgresql-13Wolfi13.13-r0
postgresql15-llvmjitAmazon Linux15.5-1.amzn2023.0.1
postgresql-develAmazon Linux9.2.24-8.amzn2
postgresql-15Chainguard15.5-r0
postgresql-staticAmazon Linux9.2.24-8.amzn2
postgresql15-staticAmazon Linux15.5-1.amzn2023.0.1

35 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Red HatRed Hat Advanced Cluster Security 4.24.2.4-6
Red HatRed Hat Advanced Cluster Security 4.24.2.4-6
Red HatRed Hat Advanced Cluster Security 4.24.2.4-7
Red HatRed Hat Advanced Cluster Security 4.24.2.4-6
Red HatRed Hat Advanced Cluster Security 4.24.2.4-7
Red HatRed Hat Enterprise Linux 70:9.2.24-9.el7_9
Red HatRed Hat Enterprise Linux 88090020231114113712.a75119d5
Red HatRed Hat Enterprise Linux 88090020231128173330.a75119d5
Red HatRed Hat Enterprise Linux 88090020231201202407.a75119d5
Red HatRed Hat Enterprise Linux 88090020231114113548.a75119d5
Red HatRed Hat Enterprise Linux 8.1 Update Services for SAP Solutions8010020231130170510.c27ad7f8
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support8020020231128165246.4cda2c84
Red HatRed Hat Enterprise Linux 8.2 Advanced Update Support8020020231201202149.4cda2c84
Red HatRed Hat Enterprise Linux 8.2 Telecommunications Update Service8020020231128165246.4cda2c84
Red HatRed Hat Enterprise Linux 8.2 Telecommunications Update Service8020020231201202149.4cda2c84
Red HatRed Hat Enterprise Linux 8.2 Update Services for SAP Solutions8020020231128165246.4cda2c84
Red HatRed Hat Enterprise Linux 8.2 Update Services for SAP Solutions8020020231201202149.4cda2c84
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020231127153301.522a0ee4
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020231127154806.522a0ee4
Red HatRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020231127142440.522a0ee4

…and 132 more

Timeline

  • Dec 10, 2023 CVE Published
  • Dec 11, 2023 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch (32 in total, the first dated here)
  • Mar 21, 2026 Security Advisory (35 in total, the first dated here)
  • Jun 25, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-5869
vulnetix vdb fixes CVE-2023-5869

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-5869/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 15 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›