CVE-2021-3515

pglogical: Shell injection by pglogical users with CREATEDB access

Published Jun 1, 2021 CVSS 3.1 · 6.7 Medium EPSS < 1% KEV · Not listed
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().

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-26833 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().
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 4:53 PM
Reserved
Apr 27, 2021, 12:00 AM
Status
Modified
Published
Jun 1, 2021, 2:15 PM
Modified
Jun 17, 2026, 4:05 AM
Severity
Moderate
Public date
May 13, 2021, 12:00 AM