Skip to content
OpenAdvisories
Unscored CVE-2021-3515 EUVD-2021-26833GHSA-pg8h-w6r7-prw8

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 Postgre…

Published Jun 1, 2021 · Updated Aug 3, 2024 · Assigned by redhat

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().

Affected products

VendorProductAffectedFixed
— pglogical pglogical 2.3.4, pglogical 3.6.26 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pglogical 2.3.3-3 —
Debian 13 pglogical 2.3.3-3 —
Debian 12 pglogical 2.3.3-3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pglogical No fix yet —
Ubuntu 26.04 LTS pglogical No fix yet —
Ubuntu 25.10 pglogical No fix yet —
Ubuntu 24.04 LTS pglogical No fix yet —
Ubuntu 22.04 LTS pglogical No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS pglogical No fix yet —
Ubuntu 18.04 LTS pglogical No fix yet —

References