Auth bypass in Timescale Timescaledb
CVE-2022-24128
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.)
Vulnerability class: Broken Access Control
EPSS: 0.009 (55.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Timescale Timescaledb
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Release Notes, Vendor Advisory)
- cve@mitre.org (Third Party Advisory)
- cve@mitre.org
- cve@mitre.org
Frequently asked questions
- What is CVE-2022-24128?
- CVE-2022-24128 is a high-severity vulnerability in Timescale Timescaledb, classified under Incorrect Authorization. CVSS score: 8.0/10. Published 2022-03-13.
- How severe is CVE-2022-24128?
- High severity. CVSS v3 base score is 8.0 out of 10.