CVE-2023-5869
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/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 11.0, < 11.22 |
| Postgresql | Postgresql | >= 12.0, < 12.17 |
| Postgresql | Postgresql | >= 13.0, < 13.13 |
| Postgresql | Postgresql | >= 14.0, < 14.10 |
| Postgresql | Postgresql | >= 15.0, < 15.5 |
| Postgresql | Postgresql | 16.0 |
| Redhat | Codeready Linux Builder Eus | 9.2 |
| Redhat | Codeready Linux Builder Eus For Power Little Endian Eus | 9.0_ppc64le |
| Redhat | Codeready Linux Builder Eus For Power Little Endian Eus | 9.2_ppc64le |
| Redhat | Codeready Linux Builder For Arm64 Eus | 8.6_aarch64 |
| Redhat | Codeready Linux Builder For Arm64 Eus | 9.0_aarch64 |
| Redhat | Codeready Linux Builder For Arm64 Eus | 9.2_aarch64 |
| Redhat | Codeready Linux Builder For Ibm Z Systems Eus | 9.0_s390x |
| Redhat | Codeready Linux Builder For Ibm Z Systems Eus | 9.2_s390x |
| Redhat | Codeready Linux Builder For Power Little Endian Eus | 9.0_ppc64le |
| Redhat | Codeready Linux Builder For Power Little Endian Eus | 9.2_ppc64le |
| Redhat | Software Collections | 1.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Eus | 8.6 |
| Redhat | Enterprise Linux Eus | 8.8 |
| Redhat | Enterprise Linux Eus | 9.0 |
| Redhat | Enterprise Linux Eus | 9.2 |
| Redhat | Enterprise Linux For Arm 64 | 8.0 |
| Redhat | Enterprise Linux For Arm 64 | 8.8_aarch64 |
| Redhat | Enterprise Linux For Ibm Z Systems | 7.0_s390x |
| Redhat | Enterprise Linux For Ibm Z Systems | 8.0_s390x |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.6_s390x |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 8.8_s390x |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 9.0_s390x |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 9.2_s390x |
| Redhat | Enterprise Linux For Power Big Endian | 7.0_ppc64 |
| Redhat | Enterprise Linux For Power Little Endian | 7.0_ppc64le |
| Redhat | Enterprise Linux For Power Little Endian | 8.0_ppc64le |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.6_ppc64le |
| Redhat | Enterprise Linux For Power Little Endian Eus | 8.8_ppc64le |
| Redhat | Enterprise Linux For Power Little Endian Eus | 9.0_ppc64le |
| Redhat | Enterprise Linux For Power Little Endian Eus | 9.2_ppc64le |
| Redhat | Enterprise Linux For Scientific Computing | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 8.2 |
| Redhat | Enterprise Linux Server Aus | 8.4 |
| Redhat | Enterprise Linux Server Aus | 8.6 |
| Redhat | Enterprise Linux Server Aus | 9.2 |
| Redhat | Enterprise Linux Server Tus | 8.2 |
| Redhat | Enterprise Linux Server Tus | 8.4 |
| Redhat | Enterprise Linux Server Tus | 8.6 |
| Redhat | Enterprise Linux Workstation | 7.0 |
References
- https://access.redhat.com/errata/RHSA-2023:7545Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7579Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7580Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7581Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7616Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7656Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7666Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7667Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7694Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7695Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7714Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7770Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7771Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7772Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7778Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7783Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-5869Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2247169Issue Tracking
- https://www.postgresql.org/support/security/CVE-2023-5869/Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7545Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7579Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7580Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7581Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7616Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7656Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7666Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7667Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7694Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7695Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7714Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7770Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7771Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7772Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7778Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7783Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-5869Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2247169Issue Tracking
- https://www.postgresql.org/support/security/CVE-2023-5869/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-5869?
How severe is CVE-2023-5869?
How do I fix CVE-2023-5869?
Are you affected by CVE-2023-5869?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
