Vulnerability · Published Jun 1, 2021 · Assigned by redhat
CVE-2021-3515
Medium 6.7
In plain English
A medium-severity command injection in pglogical. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.7Medium
Exploit odds (30 days)0.5%top 60.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pglogical | 2.3.3-3 | DEBIAN-CVE-2021-3515 |
| Debian:13 | pglogical | 2.3.3-3 | DEBIAN-CVE-2021-3515 |
| Debian:14 | pglogical | 2.3.3-3 | DEBIAN-CVE-2021-3515 |
| Ubuntu:22.04:LTS | pglogical | no fix listed | UBUNTU-CVE-2021-3515 |
| Ubuntu:24.04:LTS | pglogical | no fix listed | UBUNTU-CVE-2021-3515 |
| Ubuntu:25.10 | pglogical | no fix listed | UBUNTU-CVE-2021-3515 |
| Ubuntu:26.04:LTS | pglogical | no fix listed | UBUNTU-CVE-2021-3515 |
| Ubuntu:26.10 | pglogical | no fix listed | UBUNTU-CVE-2021-3515 |
Affected products (as reported)
Weakness: CWE-77
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1954112 x_refsource_MISC