RCE in 2ndquadrant Pglogical
CVE-2021-3515
- CVSS v3
- 6.7 Medium
- Public exploits
- None known
- EPSS
- 0.005 · 40.7th percentile
- Published
- 2021-06-01
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().
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- High
PR:H - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.005, 40.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- 2ndquadrant Pglogical
- Pglogical — versions pglogical 2.3.4, pglogical 3.6.26
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)