{"id":"CVE-2018-1058","state":"PUBLISHED","title":"A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with th","description":"A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected.","publishedAt":"2018-03-02T15:00:00.000Z","updatedAt":"2024-09-17T03:22:50.533Z","severity":null,"assigner":"redhat","products":["The PostgreSQL Global Development Group postgresql"],"affected":[{"vendor":"The PostgreSQL Global Development Group","product":"postgresql","versions":[{"version":"9.3 - 10","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1547044","https://usn.ubuntu.com/3589-1/","http://www.securityfocus.com/bid/103221","https://www.postgresql.org/about/news/1834/","https://access.redhat.com/errata/RHSA-2018:2511","https://access.redhat.com/errata/RHSA-2018:2566","https://access.redhat.com/errata/RHSA-2018:3816"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:44:36.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/1xxx/CVE-2018-1058.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-1058","state":"PUBLISHED","datePublished":"2018-03-02T15:00:00.000Z","dateUpdated":"2024-09-17T03:22:50.533Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2017-12-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected."}],"affected":[{"vendor":"The PostgreSQL Global Development Group","product":"postgresql","versions":[{"version":"9.3 - 10","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1547044","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/3589-1/","name":"USN-3589-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/103221","name":"103221","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.postgresql.org/about/news/1834/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2511","name":"RHSA-2018:2511","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2566","name":"RHSA-2018:2566","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3816","name":"RHSA-2018:3816","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2018-12-14T10:57:02.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2018-03-01T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","DATE_PUBLIC":"2018-03-01T00:00:00","ID":"CVE-2018-1058","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"postgresql","version":{"version_data":[{"version_value":"9.3 - 10"}]}}]},"vendor_name":"The PostgreSQL Global Development Group"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A flaw was found in the way Postgresql allowed a user to modify the behavior of a query for other users. An attacker with a user account could use this flaw to execute code with the permissions of superuser in the database. Versions 9.3 through 10 are affected."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1547044","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1547044"},{"name":"USN-3589-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3589-1/"},{"name":"103221","refsource":"BID","url":"http://www.securityfocus.com/bid/103221"},{"name":"https://www.postgresql.org/about/news/1834/","refsource":"CONFIRM","url":"https://www.postgresql.org/about/news/1834/"},{"name":"RHSA-2018:2511","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:2511"},{"name":"RHSA-2018:2566","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:2566"},{"name":"RHSA-2018:3816","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:3816"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1547044","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/3589-1/","name":"USN-3589-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/bid/103221","name":"103221","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://www.postgresql.org/about/news/1834/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2511","name":"RHSA-2018:2511","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2566","name":"RHSA-2018:2566","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3816","name":"RHSA-2018:3816","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T03:44:11.804Z"}}]}}}