CVE-2021-3515

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
NISTNIST
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
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 32%
VendorProductVersion
2ndquadrantpglogical
𝑥
< 2.3.4
2ndquadrantpglogical
3.0.0 ≤
𝑥
< 3.6.26
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pglogical
bullseye
2.3.3-3+deb11u1
fixed
buster
no-dsa
bookworm
2.4.2-3
fixed
sid
2.4.5-1
fixed
trixie
2.4.5-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pglogical
noble
needs-triage
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
needs-triage
impish
ignored
hirsute
ignored
groovy
ignored
focal
needs-triage
bionic
needs-triage
xenial
ignored
trusty
dne