High severity8.0NVD Advisory· Published Mar 13, 2022· Updated Jun 17, 2026
CVE-2022-24128
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.)
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
18(expand)+ 1 more
- (no CPE)
- (no CPE)range: <2.5.2
- osv-coords16 versionspkg:rpm/opensuse/postgresql12-timescaledb&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/postgresql12-timescaledb&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/postgresql13-timescaledb&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/postgresql13-timescaledb&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/postgresql14-timescaledb&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/postgresql14-timescaledb&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/postgresql15-timescaledb&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/postgresql15-timescaledb&distro=openSUSE%20Leap%2015.4pkg:rpm/suse/postgresql12-timescaledb&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/postgresql12-timescaledb&distro=SUSE%20Package%20Hub%2015%20SP4pkg:rpm/suse/postgresql13-timescaledb&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/postgresql13-timescaledb&distro=SUSE%20Package%20Hub%2015%20SP4pkg:rpm/suse/postgresql14-timescaledb&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/postgresql14-timescaledb&distro=SUSE%20Package%20Hub%2015%20SP4pkg:rpm/suse/postgresql15-timescaledb&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/postgresql15-timescaledb&distro=SUSE%20Package%20Hub%2015%20SP4
< 2.9.3-bp153.2.3.1+ 15 more
- (no CPE)range: < 2.9.3-bp153.2.3.1
- (no CPE)range: < 2.9.3-bp154.2.3.1
- (no CPE)range: < 2.9.3-bp153.2.3.1
- (no CPE)range: < 2.9.3-bp154.2.3.1
- (no CPE)range: < 2.9.3-bp153.2.3.1
- (no CPE)range: < 2.9.3-bp154.2.3.1
- (no CPE)range: < 2.9.3-bp153.2.3.1
- (no CPE)range: < 2.9.3-bp154.2.3.1
- (no CPE)range: < 2.9.3-bp153.2.3.1
- (no CPE)range: < 2.9.3-bp154.2.3.1
- (no CPE)range: < 2.9.3-bp153.2.3.1
- (no CPE)range: < 2.9.3-bp154.2.3.1
- (no CPE)range: < 2.9.3-bp153.2.3.1
- (no CPE)range: < 2.9.3-bp154.2.3.1
- (no CPE)range: < 2.9.3-bp153.2.3.1
- (no CPE)range: < 2.9.3-bp154.2.3.1
Patches
Vulnerability mechanics
References
4- docs.timescale.com/timescaledb/latest/overview/release-notes/nvdRelease NotesVendor Advisory
- github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9nvdThird Party Advisory
- github.com/timescale/timescaledb/commit/6275c2985927cfd4900b85cac5120227c8cb1f0cnvd
- github.com/timescale/timescaledb/commit/c8b8516e466c2bb7d2ae6a4b0b2e8e60b24b24a2nvd
News mentions
0No linked articles in our index yet.