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

No history.

Information

Published : 2021-06-01 14:15

Updated : 2024-02-28 18:28


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')