Skip to content
Fencer Vulns
high 8.0

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 products
    not 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

References

Sources

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.