CVE-2021-3515

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().
Command Injection
OS Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.7 MEDIUM
LOCAL
LOW
HIGH
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 31%
Affected Products (NVD)
VendorProductVersion
2ndquadrantpglogical
𝑥
< 2.3.4
2ndquadrantpglogical
3.0.0 ≤
𝑥
< 3.6.26
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pglogical
bookworm
2.4.2-3
fixed
bullseye
2.3.3-3+deb11u1
fixed
buster
no-dsa
sid
2.4.5-1
fixed
trixie
2.4.5-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pglogical
bionic
needs-triage
focal
needs-triage
groovy
ignored
hirsute
ignored
impish
ignored
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
dne
xenial
ignored