RCE in 2ndquadrant Pglogical
CVE-2021-3515
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.
EPSS exploit prediction
EPSS: 0.005 (37.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 37.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
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)
Frequently asked questions
- What is CVE-2021-3515?
- CVE-2021-3515 is a medium-severity vulnerability in 2ndquadrant Pglogical, classified under Command Injection. CVSS score: 6.7/10. Published 2021-06-01.
- How severe is CVE-2021-3515?
- Medium severity. CVSS v3 base score is 6.7 out of 10.