
CVE catalog
CVE-2021-3515
pglogical: CVE-2021-3515
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.46% · Oct 25, 2026
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().
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pglogical | sid | 2.4.8-2 | fixed |
| Debian | pglogical | forky | 2.4.8-2 | fixed |
| Debian | pglogical | trixie | 2.4.5-1 | fixed |
| Debian | pglogical | bookworm | 2.4.2-3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pglogical | source | sid | 2.3.3-3 | not yet assigned | Not reported | [988735] |
| Debian | pglogical | source | forky | 2.3.3-3 | not yet assigned | Not reported | [988735] |
| Debian | pglogical | source | trixie | 2.3.3-3 | not yet assigned | Not reported | [988735] |
| Debian | pglogical | source | bookworm | 2.3.3-3 | not yet assigned | Not reported | [988735] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [postgresql-15-pglogical]Fixed
Source package: [pglogical]
Details (2)
2.4.2-3· amd64 · bookwormFixed · Fixed:
2.3.3-3dsa · pglogical · debian · bookworm; dsa · pglogical · debian · 12
2.4.2-3· arm64 · bookwormFixed · Fixed:
2.3.3-3dsa · pglogical · debian · bookworm; dsa · pglogical · debian · 12
[Debian 13 (Trixie)]
- [postgresql-17-pglogical]Fixed
Source package: [pglogical]
Details (2)
2.4.5-1· amd64 · trixieFixed · Fixed:
2.3.3-3dsa · pglogical · debian · 13
2.4.5-1· arm64 · trixieFixed · Fixed:
2.3.3-3dsa · pglogical · debian · 13
Observed: