FreeBSD : PostgreSQL server -- Memory disclosure in certain queries (b471130b-fb86-11eb-87db-6cc21735f730)

medium Nessus Plugin ID 152570

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The PostgreSQL Project reports :

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. The attack does not require the ability to create objects. If server settings include max_worker_processes=0, the known versions of this attack are infeasible. However, undiscovered variants of the attack may be independent of that setting.

Solution

Update the affected packages.

See Also

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

http://www.nessus.org/u?df1fa90c

Plugin Details

Severity: Medium

ID: 152570

File Name: freebsd_pkg_b471130bfb8611eb87db6cc21735f730.nasl

Version: 1.5

Type: local

Published: 8/16/2021

Updated: 3/11/2022

Supported Sensors: 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: p-cpe:/a:freebsd:freebsd:postgresql11-server, p-cpe:/a:freebsd:freebsd:postgresql12-server, p-cpe:/a:freebsd:freebsd:postgresql13-server, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

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