{"id":"CVE-2019-10208","state":"PUBLISHED","title":"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 ca","description":"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.","publishedAt":"2019-10-29T13:13:12.000Z","updatedAt":"2024-08-04T22:17:18.925Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"redhat"},"assigner":"redhat","products":["PostgreSQL postgresql"],"affected":[{"vendor":"PostgreSQL","product":"postgresql","versions":[{"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","status":"affected"}]}],"references":["https://www.postgresql.org/about/news/1960/","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10208","http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T19:45:19.894Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/10xxx/CVE-2019-10208.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-10208","state":"PUBLISHED","datePublished":"2019-10-29T13:13:12.000Z","dateUpdated":"2024-08-04T22:17:18.925Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2019-03-27T00:00:00.000Z"},"containers":{"cna":{"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."}],"affected":[{"vendor":"PostgreSQL","product":"postgresql","versions":[{"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","status":"affected"}]}],"references":[{"url":"https://www.postgresql.org/about/news/1960/","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10208","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html","name":"openSUSE-SU-2020:1227","tags":["vendor-advisory","x_refsource_SUSE"]}],"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":{"shortName":"redhat","dateUpdated":"2020-08-17T17:06:11.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"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":[{"title":"CVE Program Container","references":[{"url":"https://www.postgresql.org/about/news/1960/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10208","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html","name":"openSUSE-SU-2020:1227","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T22:17:18.925Z"}}]}}}