UBUNTU-CVE-2021-3515

Source
https://ubuntu.com/security/CVE-2021-3515
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3515.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3515
Upstream
Published
2021-06-01T14:15:00Z
Modified
2025-07-14T06:34:39.431101Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:Pro:18.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical@2.1.1-1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.0-1
2.1.0-1
2.1.1-1

Ubuntu:Pro:20.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical@2.3.0-1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.2.2-1
2.3.0-1

Ubuntu:22.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical@2.4.1-1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.3.3-3
2.4.0-2
2.4.1-1

Ubuntu:24.04:LTS / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical@2.4.4-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.3-1ubuntu1
2.4.4-1

Ubuntu:25.04 / pglogical

Package

Name
pglogical
Purl
pkg:deb/ubuntu/pglogical@2.4.5-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4.4-1
2.4.5-1