CVEvulnerability
CVE-2021-3515
6.7 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-06-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.7 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-77, CWE-78
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 configurations
• 2ndquadrant pglogical (< 2.3.4)
• 2ndquadrant pglogical (>= 3.0.0 < 3.6.26)
Related
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1954112 Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1954112 Issue Tracking, Patch, Third Party Advisory