CVE-2021-3515

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3515
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3515.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3515
Related
Published
2021-06-01T14:15:10Z
Modified
2025-01-14T09:19:04.179134Z
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
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

Debian:11 / pglogical

Package

Name
pglogical
Purl
pkg:deb/debian/pglogical?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.3-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / pglogical

Package

Name
pglogical
Purl
pkg:deb/debian/pglogical?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.3-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / pglogical

Package

Name
pglogical
Purl
pkg:deb/debian/pglogical?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.3-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/2ndquadrant/pglogical

Affected ranges

Type
GIT
Repo
https://github.com/2ndquadrant/pglogical
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

REL1_0_0
REL1_1_0
REL1_2_0
REL2_0_0
REL2_0_1
REL2_1_0
REL2_1_1
REL2_2_0
REL2_2_1
REL2_2_2
REL2_3_0
REL2_3_1
REL2_3_2
REL2_3_3
pglogical/REL1_1_0