PostgreSQL 11.x < 11.13 / 12.x < 12.8 / 13.x < 13.4 Memory Disclosure

medium Nessus Plugin ID 152683

Synopsis

The remote database server is affected by a memory disclosure vulnerability.

Description

The version of PostgreSQL installed on the remote host is 11 prior to 11.13, 12 prior to 12.8, or 13 prior to 13.4. As such, it is potentially affected by a memory disclosure vulnerability:

- A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can complete this attack at will. (CVE-2021-3677)

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

Solution

Upgrade to PostgreSQL 11.13 / 12.8 / 13.4 or later

See Also

http://www.nessus.org/u?530cf2c5

https://www.postgresql.org/support/security/CVE-2021-3677/

Plugin Details

Severity: Medium

ID: 152683

File Name: postgresql_20210812.nasl

Version: 1.5

Type: local

Agent: windows, macosx, unix

Family: Databases

Published: 8/19/2021

Updated: 4/4/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2021-3677

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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: 8/12/2021

Vulnerability Publication Date: 8/12/2021

Reference Information

CVE: CVE-2021-3677

IAVB: 2021-B-0048-S