8.0high
Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation.
- Severity
- 8.0high CVSS:3.1 by NVD
- Exploit likelihood
- 0.86% (higher than 56% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
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.)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| timescale timescaledb | from 1.0.0 before 2.5.2 | NVD |
All scores
| NVD | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.0medium CVSS:2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.)
NVD (es)
Timescale TimescaleDB 1.x y 2.x antes de 2.5.2 pueden permitir la escalada de privilegios durante la instalación de la extensión. El proceso de instalación utiliza comandos como CREATE x IF NOT EXIST que permiten a un usuario sin privilegios precrear objetos. Estos objetos serán utilizados por el instalador (que se ejecuta como superusuario), lo que lleva a una escalada de privilegios. Para poder aprovecharse de esto, un usuario sin privilegios tendría que ser capaz de crear objetos en una base de datos y luego conseguir que un Superusuario instale TimescaleDB en su base de datos. (En las versiones fijas, la instalación aborta cuando encuentra que un objeto ya existe)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24128 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-24128 changed 2026-06-17 | Public domain |