{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-1058","id":"CVE-2018-1058","title":"the way Postgresql allowed a user to modify the behavior of a query for other users: An attacker with a user account…","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.","descriptionLong":"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.","published":"2018-03-02T15:00:00.000Z","updated":"2026-07-02T18:29:39.258754727Z","reserved":"2017-12-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["The PostgreSQL Global Development Group postgresql"],"affectedProducts":[{"vendor":"The PostgreSQL Global Development Group","product":"postgresql","defaultStatus":null,"versions":[{"status":"affected","version":"9.3 - 10"}],"platforms":[]}],"packages":[],"cwes":["CWE-20"],"aliases":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1547044","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://usn.ubuntu.com/3589-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/103221","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.postgresql.org/about/news/1834/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2511","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2566","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3816","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.13098,"epssPercentile":0.96429,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-1058","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1058","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-1058","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-1058","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["postgresql"],"critical":["EPSS 13% with CVSS 8.8"],"attention":null}