FreeBSD : pglogical -- shell command injection in pglogical.create_subscription() (45b8716b-c707-11eb-b9a0-6805ca0b3d42)

medium Nessus Plugin ID 150312

Language:

Synopsis

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

Description

2ndQuadrant reports :

- Fix pg_dump/pg_restore execution (CVE-2021-3515) Correctly escape the connection string for both pg_dump and pg_restore so that exotic database and user names are handled correctly. Reported by Pedro Gallegos

Solution

Update the affected package.

See Also

https://github.com/2ndQuadrant/pglogical/releases/tag/REL2_3_4

https://bugzilla.redhat.com/show_bug.cgi?id=1954112

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

Plugin Details

Severity: Medium

ID: 150312

File Name: freebsd_pkg_45b8716bc70711ebb9a06805ca0b3d42.nasl

Version: 1.3

Type: local

Published: 6/7/2021

Updated: 6/16/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2021-3515

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

Vector: CVSS:3.0/AV:L/AC:L/PR:H/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:pglogical, 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: 6/6/2021

Vulnerability Publication Date: 6/1/2021

Reference Information

CVE: CVE-2021-3515