CVE-2021-3515

Source
https://cve.org/CVERecord?id=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
Downstream
Published
2021-06-01T14:15:10.337Z
Modified
2026-03-14T11:00:35.054209Z
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

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
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.3.4"
        }
    ]
}

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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3515.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "3.0.0"
            },
            {
                "fixed": "3.6.26"
            }
        ]
    }
]