CVE-2023-5869

HIGHCVSS 8.8/10EPSS 4.32%

Last modified

CVE-2023-5869 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 4.32% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
8.8/10

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

EPSS Probability
4.32%

89.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PostgresqlPostgresql>= 11.0, < 11.22
PostgresqlPostgresql>= 12.0, < 12.17
PostgresqlPostgresql>= 13.0, < 13.13
PostgresqlPostgresql>= 14.0, < 14.10
PostgresqlPostgresql>= 15.0, < 15.5
PostgresqlPostgresql16.0
RedhatCodeready Linux Builder Eus9.2
RedhatCodeready Linux Builder Eus For Power Little Endian Eus9.0_ppc64le
RedhatCodeready Linux Builder Eus For Power Little Endian Eus9.2_ppc64le
RedhatCodeready Linux Builder For Arm64 Eus8.6_aarch64
RedhatCodeready Linux Builder For Arm64 Eus9.0_aarch64
RedhatCodeready Linux Builder For Arm64 Eus9.2_aarch64
RedhatCodeready Linux Builder For Ibm Z Systems Eus9.0_s390x
RedhatCodeready Linux Builder For Ibm Z Systems Eus9.2_s390x
RedhatCodeready Linux Builder For Power Little Endian Eus9.0_ppc64le
RedhatCodeready Linux Builder For Power Little Endian Eus9.2_ppc64le
RedhatSoftware Collections1.0
RedhatEnterprise Linux8.0
RedhatEnterprise Linux9.0
RedhatEnterprise Linux Desktop7.0
RedhatEnterprise Linux Eus8.6
RedhatEnterprise Linux Eus8.8
RedhatEnterprise Linux Eus9.0
RedhatEnterprise Linux Eus9.2
RedhatEnterprise Linux For Arm 648.0
RedhatEnterprise Linux For Arm 648.8_aarch64
RedhatEnterprise Linux For Ibm Z Systems7.0_s390x
RedhatEnterprise Linux For Ibm Z Systems8.0_s390x
RedhatEnterprise Linux For Ibm Z Systems Eus8.6_s390x
RedhatEnterprise Linux For Ibm Z Systems Eus8.8_s390x
RedhatEnterprise Linux For Ibm Z Systems Eus9.0_s390x
RedhatEnterprise Linux For Ibm Z Systems Eus9.2_s390x
RedhatEnterprise Linux For Power Big Endian7.0_ppc64
RedhatEnterprise Linux For Power Little Endian7.0_ppc64le
RedhatEnterprise Linux For Power Little Endian8.0_ppc64le
RedhatEnterprise Linux For Power Little Endian Eus8.6_ppc64le
RedhatEnterprise Linux For Power Little Endian Eus8.8_ppc64le
RedhatEnterprise Linux For Power Little Endian Eus9.0_ppc64le
RedhatEnterprise Linux For Power Little Endian Eus9.2_ppc64le
RedhatEnterprise Linux For Scientific Computing7.0
RedhatEnterprise Linux Server7.0
RedhatEnterprise Linux Server Aus8.2
RedhatEnterprise Linux Server Aus8.4
RedhatEnterprise Linux Server Aus8.6
RedhatEnterprise Linux Server Aus9.2
RedhatEnterprise Linux Server Tus8.2
RedhatEnterprise Linux Server Tus8.4
RedhatEnterprise Linux Server Tus8.6
RedhatEnterprise Linux Workstation7.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-5869?
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.
How severe is CVE-2023-5869?
CVE-2023-5869 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 4.32% probability of exploitation in the next 30 days.
How do I fix CVE-2023-5869?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-5869?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST