{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "postgresql",
                    "vendor": "PostgreSQL",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "all 11.x before 11.5"
                        },
                        {
                            "status": "affected",
                            "version": "all 10.x before 10.10"
                        },
                        {
                            "status": "affected",
                            "version": "all 9.6.x before 9.6.15"
                        },
                        {
                            "status": "affected",
                            "version": "all 9.5.x before 9.5.19"
                        },
                        {
                            "status": "affected",
                            "version": "all 9.4.x before 9.4.24"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A flaw was discovered in postgresql versions 9.4.x before 9.4.24, 9.5.x before 9.5.19, 9.6.x before 9.6.15, 10.x before 10.10 and 11.x before 11.5 where arbitrary SQL statements can be executed given a suitable SECURITY DEFINER function. An attacker, with EXECUTE permission on the function, can execute arbitrary SQL as the owner of the function."
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.0"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-89",
                            "description": "CWE-89",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2020-08-17T17:06:11",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.postgresql.org/about/news/1960/"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10208"
                },
                {
                    "name": "openSUSE-SU-2020:1227",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_SUSE"
                    ],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "secalert@redhat.com",
                    "ID": "CVE-2019-10208",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "postgresql",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "all 11.x before 11.5"
                                                    },
                                                    {
                                                        "version_value": "all 10.x before 10.10"
                                                    },
                                                    {
                                                        "version_value": "all 9.6.x before 9.6.15"
                                                    },
                                                    {
                                                        "version_value": "all 9.5.x before 9.5.19"
                                                    },
                                                    {
                                                        "version_value": "all 9.4.x before 9.4.24"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "PostgreSQL"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "A flaw was discovered in postgresql versions 9.4.x before 9.4.24, 9.5.x before 9.5.19, 9.6.x before 9.6.15, 10.x before 10.10 and 11.x before 11.5 where arbitrary SQL statements can be executed given a suitable SECURITY DEFINER function. An attacker, with EXECUTE permission on the function, can execute arbitrary SQL as the owner of the function."
                        }
                    ]
                },
                "impact": {
                    "cvss": [
                        [
                            {
                                "vectorString": "7.5/CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                                "version": "3.0"
                            }
                        ]
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "CWE-89"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://www.postgresql.org/about/news/1960/",
                            "refsource": "MISC",
                            "url": "https://www.postgresql.org/about/news/1960/"
                        },
                        {
                            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10208",
                            "refsource": "CONFIRM",
                            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10208"
                        },
                        {
                            "name": "openSUSE-SU-2020:1227",
                            "refsource": "SUSE",
                            "url": "http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T22:17:18.925Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.postgresql.org/about/news/1960/"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10208"
                    },
                    {
                        "name": "openSUSE-SU-2020:1227",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_SUSE",
                            "x_transferred"
                        ],
                        "url": "http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2019-10208",
        "datePublished": "2019-10-29T13:13:12",
        "dateReserved": "2019-03-27T00:00:00",
        "dateUpdated": "2024-08-04T22:17:18.925Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}