CVE-2022-24128: High severity timescale vulnerability
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 Software
Event History
Frequently Asked Questions
What is CVE-2022-24128?
CVE-2022-24128 is a vulnerability in Timescale TimescaleDB 1.x and 2.x before 2.5.2 that may allow privilege escalation during extension installation.
How severe is CVE-2022-24128?
CVE-2022-24128 has a severity rating of high.
How does CVE-2022-24128 work?
CVE-2022-24128 works by allowing an unprivileged user to precreate objects during the installation process, which can be used for privilege escalation.
What is the affected software?
The affected software is TimescaleDB 1.x and 2.x before 2.5.2.
How can I fix CVE-2022-24128?
To fix CVE-2022-24128, upgrade to TimescaleDB version 2.5.2 or newer.