CVE-2021-3515

MEDIUM

pglogical <2.3.4, <3.6.26 - Command Injection

Title source: llm
STIX 2.1

Description

A shell injection flaw was found in pglogical in versions before 2.3.4 and before 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().

References (1)

Core 1
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=1954112

Scores

CVSS v3 6.7
EPSS 0.0046
EPSS Percentile 36.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-77 CWE-78
Status published
Products (1)
2ndquadrant/pglogical < 2.3.4
Published Jun 01, 2021
Tracked Since Feb 18, 2026