PostgreSQL 11.x < 11.22 / 12.x < 12.17 / 13.x < 13.13 / 14.x < 14.10 / 15.x < 15.5 / 16.x < 16.1 Multiple Vulnerabilities

high Nessus Plugin ID 185732


The remote database server is affected by multiple vulnerabilities


The version of PostgreSQL installed on the remote host is 11 prior to 11.22, 12 prior to 12.17, 13 prior to 13.13, 14 prior to 14.10, 15 prior to 15.5, or 16 prior to 16.1. As such, it is potentially affected by multiple vulnerabilities:

- Missing overflow checks let authenticated database users write arbitrary bytes to an area of memory that facilitates arbitrary code execution and read a wide area of server memory. (CVE-2023-5869)

- Certain aggregate function calls receiving an 'unknown'-type arguments can disclose bytes of server memory up to the next zero byte. (CVE-2023-5868)

- Role pg_cancel_backend can signal certain superuser processes contrary to the function documentation.
Examples of processes that could be improperly signaled are the logical replication launcher and the autovacuum launcher and workers. (CVE-2023-5870)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.


Upgrade to PostgreSQL 11.22 / 12.17 / 13.13 / 14.10 / 15.5 / 16.1 or later

See Also

Plugin Details

Severity: High

ID: 185732

File Name: postgresql_20231109.nasl

Version: 1.2

Type: local

Family: Databases

Published: 11/15/2023

Updated: 2/16/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus

Risk Information


Risk Factor: High

Score: 7.4


Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-5869


Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:postgresql:postgresql

Exploit Ease: No known exploits are available

Patch Publication Date: 11/9/2023

Vulnerability Publication Date: 11/9/2023

Reference Information

CVE: CVE-2023-5868, CVE-2023-5869, CVE-2023-5870

IAVB: 2023-B-0088-S