{"id":"CVE-2022-24128","aliases":["EUVD-2022-29039","GHSA-9cr2-2mw7-2c7r","GHSA-fh8v-663w-79w9","openSUSE-SU-2023:0046-1","openSUSE-SU-2023:0053-1"],"status":"published","title":"Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension...","description":"Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation. The installation process uses commands such as CREATE x IF NOT EXIST that allow an unprivileged user to precreate objects. These objects will be used by the installer (which executes as Superuser), leading to privilege escalation. In order to be able to take advantage of this, an unprivileged user would need to be able to create objects in a database and then get a Superuser to install TimescaleDB into their database. (In the fixed versions, the installation aborts when it finds that an object already exists.)","severity":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00903,"percentile":0.60062,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-863"],"published":"2022-03-13T00:00:00Z","modified":"2026-10-28T02:30:44Z","fixes":[{"ecosystem":"SUSE:Package Hub 15 SP4","package":"postgresql12-timescaledb","fixed_in":["2.9.3-bp154.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP4","package":"postgresql13-timescaledb","fixed_in":["2.9.3-bp154.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP4","package":"postgresql14-timescaledb","fixed_in":["2.9.3-bp154.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP4","package":"postgresql15-timescaledb","fixed_in":["2.9.3-bp154.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"postgresql12-timescaledb","fixed_in":["2.9.3-bp154.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"postgresql13-timescaledb","fixed_in":["2.9.3-bp154.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"postgresql14-timescaledb","fixed_in":["2.9.3-bp154.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"postgresql15-timescaledb","fixed_in":["2.9.3-bp154.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"postgresql12-timescaledb","fixed_in":["2.9.3-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"postgresql13-timescaledb","fixed_in":["2.9.3-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"postgresql14-timescaledb","fixed_in":["2.9.3-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Package Hub 15 SP3","package":"postgresql15-timescaledb","fixed_in":["2.9.3-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"postgresql12-timescaledb","fixed_in":["2.9.3-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"postgresql13-timescaledb","fixed_in":["2.9.3-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"postgresql14-timescaledb","fixed_in":["2.9.3-bp153.2.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"postgresql15-timescaledb","fixed_in":["2.9.3-bp153.2.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"postgresql12-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"postgresql13-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"postgresql14-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"postgresql15-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"postgresql12-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"postgresql13-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"postgresql14-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"postgresql15-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp154.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"postgresql12-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"postgresql13-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"postgresql14-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP3","package":"postgresql15-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"postgresql12-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"postgresql13-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"postgresql14-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp153.2.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"postgresql15-timescaledb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.3-bp153.2.3.1"}]}]}],"products":[{"vendor":"timescale","product":"timescaledb"}],"references":[{"url":"https://docs.timescale.com/timescaledb/latest/overview/release-notes/","tags":["x_transferred","Release Notes","Vendor Advisory","web"]},{"url":"https://github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/timescale/timescaledb/commit/6275c2985927cfd4900b85cac5120227c8cb1f0c","tags":["x_transferred","fix"]},{"url":"https://github.com/timescale/timescaledb/commit/c8b8516e466c2bb7d2ae6a4b0b2e8e60b24b24a2","tags":["x_transferred","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24128","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9cr2-2mw7-2c7r"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24128.json","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/GV3YAZCCQFFLUXTBUKIOM7YTBZRCAM3A/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1197063","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-24128","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/WRONJCUCI6J6SG66X575QCEEJ3L4FGTK/","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-24128","description":"Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation. The installation process uses commands such as CREATE x IF NOT EXIST that allow an unprivileged user to precreate objects. These objects will be used by the installer (which executes as Superuser), leading to privilege escalation. In order to be able to take advantage of this, an unprivileged user would need to be able to create objects in a database and then get a Superuser to install TimescaleDB into their database. (In the fixed versions, the installation aborts when it finds that an object already exists.)","status":"published","published":"2022-03-13T00:00:00Z","modified":"2024-08-03T03:59:23.653Z","updated_at":"2026-11-02T14:34:34.576287Z"}],"euvd":[{"id":"EUVD-2022-29039","description":"Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation. The installation process uses commands such as CREATE x IF NOT EXIST that allow an unprivileged user to precreate objects. These objects will be used by the installer (which executes as Superuser), leading to privilege escalation. In order to be able to take advantage of this, an unprivileged user would need to be able to create objects in a database and then get a Superuser to install TimescaleDB into their database. (In the fixed versions, the installation aborts when it finds that an object already exists.)","status":"published","published":"2022-03-13T00:00:00Z","modified":"2024-08-03T03:59:23Z","updated_at":"2026-11-03T03:25:50.168269Z"}],"ghsa":[{"id":"GHSA-9cr2-2mw7-2c7r","title":"Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension...","description":"Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation.","status":"published","published":"2022-03-14T00:00:20Z","modified":"2023-11-08T00:30:20Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:54:53.779138Z"}],"nvd":[{"id":"CVE-2022-24128","description":"Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation. The installation process uses commands such as CREATE x IF NOT EXIST that allow an unprivileged user to precreate objects. These objects will be used by the installer (which executes as Superuser), leading to privilege escalation. In order to be able to take advantage of this, an unprivileged user would need to be able to create objects in a database and then get a Superuser to install TimescaleDB into their database. (In the fixed versions, the installation aborts when it finds that an object already exists.)","status":"published","published":"2022-03-13T18:15:07.947Z","modified":"2026-06-17T04:31:21.167Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:07:13.7085Z"}],"osv":[{"id":"CVE-2022-24128","description":"Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation. The installation process uses commands such as CREATE x IF NOT EXIST that allow an unprivileged user to precreate objects. These objects will be used by the installer (which executes as Superuser), leading to privilege escalation. In order to be able to take advantage of this, an unprivileged user would need to be able to create objects in a database and then get a Superuser to install TimescaleDB into their database. (In the fixed versions, the installation aborts when it finds that an object already exists.)","status":"published","published":"2022-03-13T00:00:00Z","modified":"2026-10-28T02:30:44.625191088Z","updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"openSUSE-SU-2023:0046-1","title":"Security update for timescaledb","description":"This update for timescaledb fixes the following issues:\n\nUpdate to version 2.9.3\n\n- https://github.com/timescale/timescaledb/releases/tag/2.9.3\n- https://github.com/timescale/timescaledb/releases/tag/2.9.2\n- https://github.com/timescale/timescaledb/releases/tag/2.9.1\n- https://github.com/timescale/timescaledb/releases/tag/2.9.0\n- https://github.com/timescale/timescaledb/releases/tag/2.8.1\n- https://github.com/timescale/timescaledb/releases/tag/2.8.0\n- https://github.com/timescale/timescaledb/releases/tag/2.7.1\n- https://github.com/timescale/timescaledb/releases/tag/2.7.2\n- https://github.com/timescale/timescaledb/releases/tag/2.7.0\n- https://github.com/timescale/timescaledb/releases/tag/2.6.1\n\n- CVE-2022-24128: Fixed privilege escalation during extension installation (boo#1197063)\n- https://github.com/timescale/timescaledb/releases/tag/2.6.0\n- https://github.com/timescale/timescaledb/releases/tag/2.5.2\n- https://github.com/timescale/timescaledb/releases/tag/2.5.1\n- https://github.com/timescale/timescaledb/releases/tag/1.7.5\n- https://github.com/timescale/timescaledb/releases/tag/2.0.0\n- https://github.com/timescale/timescaledb/releases/tag/2.0.1\n- https://github.com/timescale/timescaledb/releases/tag/2.0.2\n- https://github.com/timescale/timescaledb/releases/tag/2.1.0\n- https://github.com/timescale/timescaledb/releases/tag/2.1.1\n- https://github.com/timescale/timescaledb/releases/tag/2.2.0\n- https://github.com/timescale/timescaledb/releases/tag/2.2.1\n- https://github.com/timescale/timescaledb/releases/tag/2.3.0\n- https://github.com/timescale/timescaledb/releases/tag/2.3.1\n- https://github.com/timescale/timescaledb/releases/tag/2.4.0\n- https://github.com/timescale/timescaledb/releases/tag/2.4.1\n- https://github.com/timescale/timescaledb/releases/tag/2.4.2\n- https://github.com/timescale/timescaledb/releases/tag/2.5.0\n\n- enable postgresql14\n\n- https://github.com/timescale/timescaledb/releases/tag/1.7.2\n- https://github.com/timescale/timescaledb/releases/tag/1.7.3\n- https://github.com/timescale/timescaledb/releases/tag/1.7.4\n","status":"published","published":"2023-02-14T15:52:16Z","modified":"2026-02-04T02:51:33.531093Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2023:0053-1","title":"Security update for timescaledb","description":"This update for timescaledb fixes the following issues:\n\ntimescaledb was updated to version 2.9.3\n\n- https://github.com/timescale/timescaledb/releases/tag/2.9.3\n- enable postgresql15 build\n- https://github.com/timescale/timescaledb/releases/tag/2.9.2\n- https://github.com/timescale/timescaledb/releases/tag/2.9.1\n- https://github.com/timescale/timescaledb/releases/tag/2.9.0\n- https://github.com/timescale/timescaledb/releases/tag/2.8.1\n- https://github.com/timescale/timescaledb/releases/tag/2.8.0\n- https://github.com/timescale/timescaledb/releases/tag/2.7.1\n- https://github.com/timescale/timescaledb/releases/tag/2.7.2\n- https://github.com/timescale/timescaledb/releases/tag/2.7.0\n- https://github.com/timescale/timescaledb/releases/tag/2.6.1\n- CVE-2022-24128: Fixed privilege escalation during extension installation (boo#1197063)\n- https://github.com/timescale/timescaledb/releases/tag/2.6.0\n- https://github.com/timescale/timescaledb/releases/tag/2.5.2\n- https://github.com/timescale/timescaledb/releases/tag/2.5.1\n- switch to %{pg_name}-server-devel\n- https://github.com/timescale/timescaledb/releases/tag/1.7.5\n- https://github.com/timescale/timescaledb/releases/tag/2.0.0\n- https://github.com/timescale/timescaledb/releases/tag/2.0.1\n- https://github.com/timescale/timescaledb/releases/tag/2.0.2\n- https://github.com/timescale/timescaledb/releases/tag/2.1.0\n- https://github.com/timescale/timescaledb/releases/tag/2.1.1\n- https://github.com/timescale/timescaledb/releases/tag/2.2.0\n- https://github.com/timescale/timescaledb/releases/tag/2.2.1\n- https://github.com/timescale/timescaledb/releases/tag/2.3.0\n- https://github.com/timescale/timescaledb/releases/tag/2.3.1\n- https://github.com/timescale/timescaledb/releases/tag/2.4.0\n- https://github.com/timescale/timescaledb/releases/tag/2.4.1\n- https://github.com/timescale/timescaledb/releases/tag/2.4.2\n- https://github.com/timescale/timescaledb/releases/tag/2.5.0\n- enable postgresql14\n- https://github.com/timescale/timescaledb/releases/tag/1.7.2\n- https://github.com/timescale/timescaledb/releases/tag/1.7.3\n- https://github.com/timescale/timescaledb/releases/tag/1.7.4\n","status":"published","published":"2023-02-19T19:01:38Z","modified":"2026-02-04T04:32:05.358859Z","updated_at":"2026-11-02T16:58:32.653274Z"}]}}
