cve.bz

CVE-2022-24128 timescale timescaledb: Incorrect Authorization

8.0 highEPSS 0.9%

High (8.0) in timescale timescaledb. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

8.0 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24128 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24128?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24128?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24128 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
timescale:timescaledbfrom 1.0.0 before 2.5.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSEPackage Hub 15 SP3postgresql12-timescaledb, postgresql13-timescaledb, postgresql14-timescaledb and 1 more2.9.3-bp153.2.3.1openSUSE-SU-2023:0053-1
SUSEPackage Hub 15 SP4postgresql12-timescaledb, postgresql13-timescaledb, postgresql14-timescaledb and 1 more2.9.3-bp154.2.3.1openSUSE-SU-2023:0046-1
openSUSELeap 15.3postgresql12-timescaledb, postgresql13-timescaledb, postgresql14-timescaledb and 1 more2.9.3-bp153.2.3.1openSUSE-SU-2023:0053-1
openSUSELeap 15.4postgresql12-timescaledb, postgresql13-timescaledb, postgresql14-timescaledb and 1 more2.9.3-bp154.2.3.1openSUSE-SU-2023:0046-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

References

Check your stackJSON