FreeBSD : PG Partition Manager -- arbitrary code execution (58b22f3a-bc71-11eb-b9c9-6cc21735f730)

critical Nessus Plugin ID 149888

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

PG Partition Manager reports :

In the pg_partman (aka PG Partition Manager) extension before 4.5.1 for PostgreSQL, arbitrary code execution can be achieved via SECURITY DEFINER functions because an explicit search_path is not set.

Solution

Update the affected package.

See Also

http://www.nessus.org/u?1cc884c6

Plugin Details

Severity: Critical

ID: 149888

File Name: freebsd_pkg_58b22f3abc7111ebb9c96cc21735f730.nasl

Version: 1.4

Type: local

Published: 5/25/2021

Updated: 12/28/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2021-33204

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:pg_partman, 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: 5/24/2021

Vulnerability Publication Date: 5/21/2021

Reference Information

CVE: CVE-2021-33204