FreeBSD : PostgreSQL -- Memory disclosure in partitioned-table UPDATE ... RETURNING (76e0bb86-b4cb-11eb-b9c9-6cc21735f730)

high Nessus Plugin ID 149514

Synopsis

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

Description

The PostgreSQL project reports :

Using an UPDATE ... RETURNING on a purpose-crafted partitioned table, an attacker can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can create prerequisite objects and complete this attack at will. A user lacking the CREATE and TEMPORARY privileges on all databases and the CREATE privilege on all schemas typically cannot use this attack at will.

Solution

Update the affected packages.

See Also

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

http://www.nessus.org/u?9771671f

Plugin Details

Severity: High

ID: 149514

File Name: freebsd_pkg_76e0bb86b4cb11ebb9c96cc21735f730.nasl

Version: 1.4

Type: local

Published: 5/17/2021

Updated: 8/23/2021

Supported Sensors: Nessus

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

Patch Publication Date: 5/14/2021

Vulnerability Publication Date: 5/13/2021

Reference Information

IAVB: 2021-B-0036-S