CVE-2018-16850

Source
https://cve.org/CVERecord?id=CVE-2018-16850
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16850.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-16850
Downstream
ALPINE (1)
BELL (1)
CLEANSTART (4)
openSUSE (2)
RHSA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2018-11-13T15:29:00Z
Modified
2026-03-15T14:29:53Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16850.json"
unresolved_ranges
[
    {
        "events":  [
            {
                "introduced":  "10.0"
            },
            {
                "fixed":  "10.6"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "11.0"
            },
            {
                "fixed":  "11.1"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "7.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "7.4"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "7.5"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "7.6"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "18.04"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "18.10"
            }
        ]
    }
]