7.2
CVSSv2

CVE-2021-3515

Published: 01/06/2021 Updated: 07/10/2022
CVSS v2 Base Score: 7.2 | Impact Score: 10 | Exploitability Score: 3.9
CVSS v3 Base Score: 6.7 | Impact Score: 5.9 | Exploitability Score: 0.8
VMScore: 642
Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Summary

A shell injection flaw was found in pglogical in versions prior to 2.3.4 and prior to 3.6.26. An attacker with CREATEDB privileges on a PostgreSQL server can craft a database name that allows execution of shell commands as the postgresql user when calling pglogical.create_subscription().

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

2ndquadrant pglogical

Vendor Advisories

Debian Bug report logs - #988735 pglogical: CVE-2021-3515 Package: src:pglogical; Maintainer for src:pglogical is Debian PostgreSQL Maintainers <team+postgresql@trackerdebianorg>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Tue, 18 May 2021 19:00:02 UTC Severity: grave Tags: pending, security, upstr ...
A shell injection flaw was found in pglogical, logical replication extension for PostgreSQL An attacker with CREATEDB privileges on a PostgreSQL server can craft a database name that allows execution of shell commands as the postgresql user when calling pglogicalcreate_subscription() ...