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.)
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-03-13T00:00:00

Updated: 2024-08-03T03:59:23.653Z

Reserved: 2022-01-29T00:00:00

Link: CVE-2022-24128

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-03-13T18:15:07.947

Modified: 2023-11-07T22:15:10.797

Link: CVE-2022-24128

cve-icon Redhat

No data.