// For flags

CVE-2023-5869

Postgresql: buffer overrun from integer overflow in array modification

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Se encontró una falla en PostgreSQL que permite a los usuarios de bases de datos autenticados ejecutar código arbitrario al faltar verificaciones de desbordamiento durante la modificación del valor de la matriz SQL. Este problema existe debido a un desbordamiento de enteros durante la modificación de la matriz, donde un usuario remoto puede desencadenar el desbordamiento proporcionando datos especialmente manipulados. Esto permite la ejecución de código arbitrario en el sistema de destino, lo que permite a los usuarios escribir bytes arbitrarios en la memoria y leer ampliamente la memoria del servidor.

*Credits: Upstream acknowledges Pedro Gallegos as the original reporter.
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-10-31 CVE Reserved
  • 2023-11-14 CVE Published
  • 2024-11-09 EPSS Updated
  • 2024-11-15 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-190: Integer Overflow or Wraparound
CAPEC
References (34)
URL Date SRC
URL Date SRC
URL Date SRC
https://access.redhat.com/errata/RHSA-2023:7545 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7579 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7580 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7581 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7616 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7656 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7666 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7667 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7694 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7695 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7714 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7770 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7771 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7772 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7778 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7783 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7784 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7785 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7786 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7788 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7789 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7790 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7878 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7883 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7884 2024-01-25
https://access.redhat.com/errata/RHSA-2023:7885 2024-01-25
https://access.redhat.com/errata/RHSA-2024:0304 2024-01-25
https://access.redhat.com/errata/RHSA-2024:0332 2024-01-25
https://access.redhat.com/errata/RHSA-2024:0337 2024-01-25
https://access.redhat.com/security/cve/CVE-2023-5869 2024-01-22
https://bugzilla.redhat.com/show_bug.cgi?id=2247169 2024-01-22
https://www.postgresql.org/support/security/CVE-2023-5869 2024-01-25
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 11.0 < 11.22
Search vendor "Postgresql" for product "Postgresql" and version " >= 11.0 < 11.22"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 12.0 < 12.17
Search vendor "Postgresql" for product "Postgresql" and version " >= 12.0 < 12.17"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 13.0 < 13.13
Search vendor "Postgresql" for product "Postgresql" and version " >= 13.0 < 13.13"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 14.0 < 14.10
Search vendor "Postgresql" for product "Postgresql" and version " >= 14.0 < 14.10"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
>= 15.0 < 15.5
Search vendor "Postgresql" for product "Postgresql" and version " >= 15.0 < 15.5"
-
Affected
Postgresql
Search vendor "Postgresql"
Postgresql
Search vendor "Postgresql" for product "Postgresql"
16.0
Search vendor "Postgresql" for product "Postgresql" and version "16.0"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder Eus
Search vendor "Redhat" for product "Codeready Linux Builder Eus"
9.2
Search vendor "Redhat" for product "Codeready Linux Builder Eus" and version "9.2"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder Eus For Power Little Endian Eus
Search vendor "Redhat" for product "Codeready Linux Builder Eus For Power Little Endian Eus"
9.0_ppc64le
Search vendor "Redhat" for product "Codeready Linux Builder Eus For Power Little Endian Eus" and version "9.0_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder Eus For Power Little Endian Eus
Search vendor "Redhat" for product "Codeready Linux Builder Eus For Power Little Endian Eus"
9.2_ppc64le
Search vendor "Redhat" for product "Codeready Linux Builder Eus For Power Little Endian Eus" and version "9.2_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder For Arm64 Eus
Search vendor "Redhat" for product "Codeready Linux Builder For Arm64 Eus"
8.6_aarch64
Search vendor "Redhat" for product "Codeready Linux Builder For Arm64 Eus" and version "8.6_aarch64"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder For Arm64 Eus
Search vendor "Redhat" for product "Codeready Linux Builder For Arm64 Eus"
9.0_aarch64
Search vendor "Redhat" for product "Codeready Linux Builder For Arm64 Eus" and version "9.0_aarch64"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder For Arm64 Eus
Search vendor "Redhat" for product "Codeready Linux Builder For Arm64 Eus"
9.2_aarch64
Search vendor "Redhat" for product "Codeready Linux Builder For Arm64 Eus" and version "9.2_aarch64"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder For Ibm Z Systems Eus
Search vendor "Redhat" for product "Codeready Linux Builder For Ibm Z Systems Eus"
9.0_s390x
Search vendor "Redhat" for product "Codeready Linux Builder For Ibm Z Systems Eus" and version "9.0_s390x"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder For Ibm Z Systems Eus
Search vendor "Redhat" for product "Codeready Linux Builder For Ibm Z Systems Eus"
9.2_s390x
Search vendor "Redhat" for product "Codeready Linux Builder For Ibm Z Systems Eus" and version "9.2_s390x"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder For Power Little Endian Eus
Search vendor "Redhat" for product "Codeready Linux Builder For Power Little Endian Eus"
9.0_ppc64le
Search vendor "Redhat" for product "Codeready Linux Builder For Power Little Endian Eus" and version "9.0_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Codeready Linux Builder For Power Little Endian Eus
Search vendor "Redhat" for product "Codeready Linux Builder For Power Little Endian Eus"
9.2_ppc64le
Search vendor "Redhat" for product "Codeready Linux Builder For Power Little Endian Eus" and version "9.2_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Software Collections
Search vendor "Redhat" for product "Software Collections"
1.0
Search vendor "Redhat" for product "Software Collections" and version "1.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux
Search vendor "Redhat" for product "Enterprise Linux"
8.0
Search vendor "Redhat" for product "Enterprise Linux" and version "8.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux
Search vendor "Redhat" for product "Enterprise Linux"
9.0
Search vendor "Redhat" for product "Enterprise Linux" and version "9.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Desktop
Search vendor "Redhat" for product "Enterprise Linux Desktop"
7.0
Search vendor "Redhat" for product "Enterprise Linux Desktop" and version "7.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Eus
Search vendor "Redhat" for product "Enterprise Linux Eus"
8.6
Search vendor "Redhat" for product "Enterprise Linux Eus" and version "8.6"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Eus
Search vendor "Redhat" for product "Enterprise Linux Eus"
8.8
Search vendor "Redhat" for product "Enterprise Linux Eus" and version "8.8"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Eus
Search vendor "Redhat" for product "Enterprise Linux Eus"
9.0
Search vendor "Redhat" for product "Enterprise Linux Eus" and version "9.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Eus
Search vendor "Redhat" for product "Enterprise Linux Eus"
9.2
Search vendor "Redhat" for product "Enterprise Linux Eus" and version "9.2"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Arm 64
Search vendor "Redhat" for product "Enterprise Linux For Arm 64"
8.0
Search vendor "Redhat" for product "Enterprise Linux For Arm 64" and version "8.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Arm 64
Search vendor "Redhat" for product "Enterprise Linux For Arm 64"
8.8_aarch64
Search vendor "Redhat" for product "Enterprise Linux For Arm 64" and version "8.8_aarch64"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Ibm Z Systems
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems"
7.0_s390x
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems" and version "7.0_s390x"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Ibm Z Systems
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems"
8.0_s390x
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems" and version "8.0_s390x"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Ibm Z Systems Eus
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems Eus"
8.6_s390x
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems Eus" and version "8.6_s390x"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Ibm Z Systems Eus
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems Eus"
8.8_s390x
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems Eus" and version "8.8_s390x"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Ibm Z Systems Eus
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems Eus"
9.0_s390x
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems Eus" and version "9.0_s390x"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Ibm Z Systems Eus
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems Eus"
9.2_s390x
Search vendor "Redhat" for product "Enterprise Linux For Ibm Z Systems Eus" and version "9.2_s390x"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Power Big Endian
Search vendor "Redhat" for product "Enterprise Linux For Power Big Endian"
7.0_ppc64
Search vendor "Redhat" for product "Enterprise Linux For Power Big Endian" and version "7.0_ppc64"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Power Little Endian
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian"
7.0_ppc64le
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian" and version "7.0_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Power Little Endian
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian"
8.0_ppc64le
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian" and version "8.0_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Power Little Endian Eus
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian Eus"
8.6_ppc64le
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian Eus" and version "8.6_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Power Little Endian Eus
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian Eus"
8.8_ppc64le
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian Eus" and version "8.8_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Power Little Endian Eus
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian Eus"
9.0_ppc64le
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian Eus" and version "9.0_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Power Little Endian Eus
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian Eus"
9.2_ppc64le
Search vendor "Redhat" for product "Enterprise Linux For Power Little Endian Eus" and version "9.2_ppc64le"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux For Scientific Computing
Search vendor "Redhat" for product "Enterprise Linux For Scientific Computing"
7.0
Search vendor "Redhat" for product "Enterprise Linux For Scientific Computing" and version "7.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server
Search vendor "Redhat" for product "Enterprise Linux Server"
7.0
Search vendor "Redhat" for product "Enterprise Linux Server" and version "7.0"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Aus
Search vendor "Redhat" for product "Enterprise Linux Server Aus"
8.2
Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "8.2"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Aus
Search vendor "Redhat" for product "Enterprise Linux Server Aus"
8.4
Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "8.4"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Aus
Search vendor "Redhat" for product "Enterprise Linux Server Aus"
8.6
Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "8.6"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Aus
Search vendor "Redhat" for product "Enterprise Linux Server Aus"
9.2
Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "9.2"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Tus
Search vendor "Redhat" for product "Enterprise Linux Server Tus"
8.2
Search vendor "Redhat" for product "Enterprise Linux Server Tus" and version "8.2"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Tus
Search vendor "Redhat" for product "Enterprise Linux Server Tus"
8.4
Search vendor "Redhat" for product "Enterprise Linux Server Tus" and version "8.4"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Server Tus
Search vendor "Redhat" for product "Enterprise Linux Server Tus"
8.6
Search vendor "Redhat" for product "Enterprise Linux Server Tus" and version "8.6"
-
Affected
Redhat
Search vendor "Redhat"
Enterprise Linux Workstation
Search vendor "Redhat" for product "Enterprise Linux Workstation"
7.0
Search vendor "Redhat" for product "Enterprise Linux Workstation" and version "7.0"
-
Affected