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().
References
Link Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1954112 Issue Tracking Patch Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:2ndquadrant:pglogical:*:*:*:*:*:*:*:*
cpe:2.3:a:2ndquadrant:pglogical:*:*:*:*:*:*:*:*

History

07 Oct 2022, 20:46

Type Values Removed Values Added
CWE CWE-77 CWE-78

14 Jun 2021, 15:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 7.2
v3 : 6.7
CPE cpe:2.3:a:2ndquadrant:pglogical:*:*:*:*:*:*:*:*
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1954112 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1954112 - Issue Tracking, Patch, Third Party Advisory
CWE CWE-77

01 Jun 2021, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-06-01 14:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-3515

Mitre link : CVE-2021-3515

CVE.ORG link : CVE-2021-3515


JSON object : View

Products Affected

2ndquadrant

  • pglogical
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')