CVE-2021-3515

Medium

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().

SeverityMedium
CVSS6.7
Exploit probability—
Product2ndquadrant Pglogical
PublishedJun 1, 2021
First seenJun 1, 2021

How to fix

Update
  • 2ndquadrant pglogical2.3.4, 3.6.26 or later

Affected products

ProductAffected versionsFixed in
2ndquadrant pglogicalv < 2.3.4, 3.0.0 ≤ v < 3.6.262.3.4, 3.6.26

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.