CVE-2023-5869
PostgreSQL Remote Code Execution (RCE)
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.
INFO
Published Date :
Dec. 10, 2023, 6:15 p.m.
Last Modified :
Sept. 14, 2024, 12:15 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Affected Products
The following products are affected by CVE-2023-5869
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-5869
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-5869
vulnerability anywhere in the article.
- Cybersecurity News
PostgreSQL Releases Security Update Addressing Multiple Vulnerabilities
The PostgreSQL Global Development Group has issued an important update addressing four security vulnerabilities across all supported versions of the popular open-source database system. This includes ... Read more
- Cybersecurity News
New PostgreSQL Threat: PG_MEM Malware Strikes Databases
Attack flow of PG_MEM | Image: Aqua NautilusA new and insidious threat has emerged, targeting the widely used PostgreSQL database management system. Aqua Nautilus researchers have identified a novel m ... Read more
- Cybersecurity News
Security Flaw in PostgreSQL: CVE-2024-7348 Allows Arbitrary SQL Execution
The PostgreSQL project has issued a security advisory, warning users of a serious vulnerability (CVE-2024-7348). The flaw, which carries a CVSS score of 8.8, exposes users to the risk of arbitrary SQL ... Read more
The following table lists the changes that have been made to the
CVE-2023-5869
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Sep. 14, 2024
Action Type Old Value New Value Removed Reference Red Hat, Inc. https://security.netapp.com/advisory/ntap-20240119-0003/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jan. 25, 2024
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:0337 [No types assigned] -
CVE Modified by [email protected]
Jan. 22, 2024
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:0332 [No types assigned] -
CVE Modified by [email protected]
Jan. 19, 2024
Action Type Old Value New Value Added Reference Red Hat, Inc. https://security.netapp.com/advisory/ntap-20240119-0003/ [No types assigned] -
CVE Modified by [email protected]
Jan. 19, 2024
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2024:0304 [No types assigned] -
CVE Modified by [email protected]
Dec. 20, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7883 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7884 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7885 [No types assigned] -
CVE Modified by [email protected]
Dec. 19, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7878 [No types assigned] -
CVE Modified by [email protected]
Dec. 19, 2023
Action Type Old Value New Value Added CWE Red Hat, Inc. CWE-190 Removed CWE Red Hat, Inc. CWE-119 -
CVE Modified by [email protected]
Dec. 13, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7784 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7785 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7786 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7788 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7789 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7790 [No types assigned] -
Initial Analysis by [email protected]
Dec. 13, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7545 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7545 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7579 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7579 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7580 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7580 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7581 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7581 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7616 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7616 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7656 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7656 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7666 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7666 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7667 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7667 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7694 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7694 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7695 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7695 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7714 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7714 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7770 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7770 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7771 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7771 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7772 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7772 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7778 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7778 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2023:7783 No Types Assigned https://access.redhat.com/errata/RHSA-2023:7783 Third Party Advisory Changed Reference Type https://access.redhat.com/security/cve/CVE-2023-5869 No Types Assigned https://access.redhat.com/security/cve/CVE-2023-5869 Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2247169 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2247169 Issue Tracking Changed Reference Type https://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/ No Types Assigned https://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/ Release Notes Changed Reference Type https://www.postgresql.org/support/security/CVE-2023-5869/ No Types Assigned https://www.postgresql.org/support/security/CVE-2023-5869/ Vendor Advisory Added CWE NIST CWE-190 Added CPE Configuration OR *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 11.0 up to (excluding) 11.22 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 12.0 up to (excluding) 12.17 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 13.0 up to (excluding) 13.13 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 14.0 up to (excluding) 14.10 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 15.0 up to (excluding) 15.5 *cpe:2.3:a:postgresql:postgresql:16.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:redhat:codeready_linux_builder_eus:9.2:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_eus_for_power_little_endian_eus:9.0_ppc64le:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_eus_for_power_little_endian_eus:9.2_ppc64le:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_arm64_eus:8.6_aarch64:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_arm64_eus:9.0_aarch64:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_arm64_eus:9.2_aarch64:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems_eus:9.0_s390x:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_ibm_z_systems_eus:9.2_s390x:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_power_little_endian_eus:9.0_ppc64le:*:*:*:*:*:*:* *cpe:2.3:a:redhat:codeready_linux_builder_for_power_little_endian_eus:9.2_ppc64le:*:*:*:*:*:*:* *cpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:8.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:8.8:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:9.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:9.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_arm_64:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_arm_64:8.8_aarch64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.6_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.8_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.0_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.2_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian:7.0_ppc64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:7.0_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:8.6_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:8.8_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.0_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.2_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_scientific_computing:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:8.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:8.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:9.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:8.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:8.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 13, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7778 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7783 [No types assigned] -
CVE Modified by [email protected]
Dec. 13, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7770 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7771 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7772 [No types assigned] -
CVE Modified by [email protected]
Dec. 11, 2023
Action Type Old Value New Value Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7714 [No types assigned] -
CVE Received by [email protected]
Dec. 10, 2023
Action Type Old Value New Value Added 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. Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7545 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7579 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7580 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7581 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7616 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7656 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7666 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7667 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7694 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7695 [No types assigned] Added Reference Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2023-5869 [No types assigned] Added Reference Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2247169 [No types assigned] Added Reference Red Hat, Inc. https://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/ [No types assigned] Added Reference Red Hat, Inc. https://www.postgresql.org/support/security/CVE-2023-5869/ [No types assigned] Added CWE Red Hat, Inc. CWE-119 Added CVSS V3.1 Red Hat, Inc. AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-5869
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-5869
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.68 }} 0.23%
score
0.88075
percentile