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.

PackageEcosystemFixed in
pglogical2ndquadrant3.6.26, 2.3.4

Affected products

VendorProductVersions
n/apglogicalpglogical 2.3.4, pglogical 3.6.26
n/apglogicalpglogical 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

References

  • x_refsource_MISC
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›