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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-5863Cross-site Scripting (XSS) - Reflected in GitHub repository …6.1
- CVE-2023-5864Cross-site Scripting (XSS) - Stored in GitHub repository tho…4.8
- CVE-2023-5865Insufficient Session Expiration in GitHub repository thorste…9.8
- CVE-2023-5866Sensitive Cookie in HTTPS Session Without 'Secure' Attribute…5.7
- CVE-2023-5867Cross-site Scripting (XSS) - Stored in GitHub repository tho…5.4
- CVE-2023-5868A memory disclosure vulnerability was found in PostgreSQL th…4.3
- CVE-2023-5870A flaw was found in PostgreSQL involving the pg_cancel_backe…4.4
- CVE-2023-5871A flaw was found in libnbd, due to a malicious Network Block…5.3
- CVE-2023-5872In Wago Smart Designer in versions up to 2.33.1 a low privil…4.3
- CVE-2023-5873Cross-site Scripting (XSS) - Stored in GitHub repository pim…5.4
- CVE-2023-5874The Popup box WordPress plugin before 3.8.6 does not sanitis…4.8
- CVE-2023-5875Mattermost Desktop fails to correctly handle permissions or …5.3
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
