CVE-2022-24128 json
Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation.
published 2022-03-13 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-29039
- cvss
- 8.0
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- timescale timescaledb 2.5.2
- postgresql12-timescaledb Package Hub 15 SP3, openSUSE Leap 15.3 2.9.3-bp153.2.3.1
- postgresql13-timescaledb Package Hub 15 SP3, openSUSE Leap 15.3 2.9.3-bp153.2.3.1
- postgresql14-timescaledb Package Hub 15 SP3, openSUSE Leap 15.3 2.9.3-bp153.2.3.1
- postgresql15-timescaledb Package Hub 15 SP3, openSUSE Leap 15.3 2.9.3-bp153.2.3.1
- postgresql12-timescaledb Package Hub 15 SP4, openSUSE Leap 15.4 2.9.3-bp154.2.3.1
- postgresql13-timescaledb Package Hub 15 SP4, openSUSE Leap 15.4 2.9.3-bp154.2.3.1
- postgresql14-timescaledb Package Hub 15 SP4, openSUSE Leap 15.4 2.9.3-bp154.2.3.1
- postgresql15-timescaledb Package Hub 15 SP4, openSUSE Leap 15.4 2.9.3-bp154.2.3.1
opensuse advisories openSUSE-SU-2023:0053-1openSUSE-SU-2023:0046-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-24128 updated
timescaledb: privilege escalation during extension installation.
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.90% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
- github.com /timescale/timescaledb/commit/6275c2985927cfd4900b85cac5120227c8cb1f0c
- github.com /timescale/timescaledb/commit/c8b8516e466c2bb7d2ae6a4b0b2e8e60b24b24a2
-
docs.timescale.com
/timescaledb/latest/overview/release-notes/
release-notes, vendor-advisory
-
github.com
/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9
third-party-advisory
Sources
- CVE List CVE-2022-24128
- NVD CVE-2022-24128
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.