Skip to content
OpenAdvisories
Unscored CVE-2022-24128 EUVD-2022-29039GHSA-9cr2-2mw7-2c7r

Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation. The installation process uses …

Published Mar 13, 2022 · Updated Aug 3, 2024 · 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.)

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP4 postgresql12-timescaledb +3 2.9.3-bp154.2.3.1 openSUSE-SU-2023:0046-1
SUSE Package Hub 15 SP3 postgresql12-timescaledb +3 2.9.3-bp153.2.3.1 openSUSE-SU-2023:0053-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 postgresql12-timescaledb +3 2.9.3-bp154.2.3.1 openSUSE-SU-2023:0046-1
openSUSE Leap 15.3 postgresql12-timescaledb +3 2.9.3-bp153.2.3.1 openSUSE-SU-2023:0053-1

Advisories 2

References