VDB
CVE-2021-3515
CVE-2021-3515
PUBLISHED
Reported by redhat · Published June 1, 2021
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pglogical | 2ndquadrant | 3.6.26, 2.3.4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | pglogical | pglogical 2.3.4, pglogical 3.6.26 |
| n/a | pglogical | pglogical 2.3.4, pglogical 3.6.26 |
Timeline
- Jun 1, 2021 CVE Published
- Jun 2, 2021 EPSS Score (30 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Apr 4, 2026 Security Advisory
- Jul 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3515
vulnetix vdb fixes CVE-2021-3515
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3515/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart