CVE-2022-24128
Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension...
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.)
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.0
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.)
- Record
CVE-2022-24128- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.0 Medium
AV:N/AC:M/Au:S/C:P/I:P/A:P - Weakness
- CWE-863
- Updated
- 2026-11-02
CVE List No score
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.)
- Record
CVE-2022-24128- Updated
- 2026-11-02
EUVDEUVD-2022-29039 No score
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.)
- Record
EUVD-2022-29039- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9cr2-2mw7-2c7r
8.0
Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension...
Timescale TimescaleDB 1.x and 2.x before 2.5.2 may allow privilege escalation during extension installation.
- Record
GHSA-9cr2-2mw7-2c7r- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-863
- Updated
- 2026-11-02
OSV No score
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.)
- Record
CVE-2022-24128- Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0046-1 No score
Security update for timescaledb
This update for timescaledb fixes the following issues:
Update to version 2.9.3
-
CVE-2022-24128: Fixed privilege escalation during extension installation (boo#1197063)
-
enable postgresql14
- Record
openSUSE-SU-2023:0046-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2023:0053-1 No score
Security update for timescaledb
This update for timescaledb fixes the following issues:
timescaledb was updated to version 2.9.3
- https://github.com/timescale/timescaledb/releases/tag/2.9.3
- enable postgresql15 build
- https://github.com/timescale/timescaledb/releases/tag/2.9.2
- https://github.com/timescale/timescaledb/releases/tag/2.9.1
- https://github.com/timescale/timescaledb/releases/tag/2.9.0
- https://github.com/timescale/timescaledb/releases/tag/2.8.1
- https://github.com/timescale/timescaledb/releases/tag/2.8.0
- https://github.com/timescale/timescaledb/releases/tag/2.7.1
- https://github.com/timescale/timescaledb/releases/tag/2.7.2
- https://github.com/timescale/timescaledb/releases/tag/2.7.0
- https://github.com/timescale/timescaledb/releases/tag/2.6.1
- CVE-2022-24128: Fixed privilege escalation during extension installation (boo#1197063)
- https://github.com/timescale/timescaledb/releases/tag/2.6.0
- https://github.com/timescale/timescaledb/releases/tag/2.5.2
- https://github.com/timescale/timescaledb/releases/tag/2.5.1
- switch to %{pg_name}-server-devel
- https://github.com/timescale/timescaledb/releases/tag/1.7.5
- https://github.com/timescale/timescaledb/releases/tag/2.0.0
- https://github.com/timescale/timescaledb/releases/tag/2.0.1
- https://github.com/timescale/timescaledb/releases/tag/2.0.2
- https://github.com/timescale/timescaledb/releases/tag/2.1.0
- https://github.com/timescale/timescaledb/releases/tag/2.1.1
- https://github.com/timescale/timescaledb/releases/tag/2.2.0
- https://github.com/timescale/timescaledb/releases/tag/2.2.1
- https://github.com/timescale/timescaledb/releases/tag/2.3.0
- https://github.com/timescale/timescaledb/releases/tag/2.3.1
- https://github.com/timescale/timescaledb/releases/tag/2.4.0
- https://github.com/timescale/timescaledb/releases/tag/2.4.1
- https://github.com/timescale/timescaledb/releases/tag/2.4.2
- https://github.com/timescale/timescaledb/releases/tag/2.5.0
- enable postgresql14
- https://github.com/timescale/timescaledb/releases/tag/1.7.2
- https://github.com/timescale/timescaledb/releases/tag/1.7.3
- https://github.com/timescale/timescaledb/releases/tag/1.7.4
- Record
openSUSE-SU-2023:0053-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
postgresql12-timescaledbSUSE:Package Hub 15 SP4 |
before 2.9.3-bp154.2.3.1 | 2.9.3-bp154.2.3.1 |
postgresql13-timescaledbSUSE:Package Hub 15 SP4 |
before 2.9.3-bp154.2.3.1 | 2.9.3-bp154.2.3.1 |
postgresql14-timescaledbSUSE:Package Hub 15 SP4 |
before 2.9.3-bp154.2.3.1 | 2.9.3-bp154.2.3.1 |
postgresql15-timescaledbSUSE:Package Hub 15 SP4 |
before 2.9.3-bp154.2.3.1 | 2.9.3-bp154.2.3.1 |
postgresql12-timescaledbopenSUSE:Leap 15.4 |
before 2.9.3-bp154.2.3.1 | 2.9.3-bp154.2.3.1 |
postgresql13-timescaledbopenSUSE:Leap 15.4 |
before 2.9.3-bp154.2.3.1 | 2.9.3-bp154.2.3.1 |
postgresql14-timescaledbopenSUSE:Leap 15.4 |
before 2.9.3-bp154.2.3.1 | 2.9.3-bp154.2.3.1 |
postgresql15-timescaledbopenSUSE:Leap 15.4 |
before 2.9.3-bp154.2.3.1 | 2.9.3-bp154.2.3.1 |
postgresql12-timescaledbSUSE:Package Hub 15 SP3 |
before 2.9.3-bp153.2.3.1 | 2.9.3-bp153.2.3.1 |
postgresql13-timescaledbSUSE:Package Hub 15 SP3 |
before 2.9.3-bp153.2.3.1 | 2.9.3-bp153.2.3.1 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
postgresql14-timescaledbSUSE:Package Hub 15 SP3 |
before 2.9.3-bp153.2.3.1 | 2.9.3-bp153.2.3.1 |
postgresql15-timescaledbSUSE:Package Hub 15 SP3 |
before 2.9.3-bp153.2.3.1 | 2.9.3-bp153.2.3.1 |
postgresql12-timescaledbopenSUSE:Leap 15.3 |
before 2.9.3-bp153.2.3.1 | 2.9.3-bp153.2.3.1 |
postgresql13-timescaledbopenSUSE:Leap 15.3 |
before 2.9.3-bp153.2.3.1 | 2.9.3-bp153.2.3.1 |
postgresql14-timescaledbopenSUSE:Leap 15.3 |
before 2.9.3-bp153.2.3.1 | 2.9.3-bp153.2.3.1 |
postgresql15-timescaledbopenSUSE:Leap 15.3 |
before 2.9.3-bp153.2.3.1 | 2.9.3-bp153.2.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-24128 is a high vulnerability (CVSS 8.0) in Timescale Timescaledb, published March 13, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.90%, the 59th percentile. Fixed in postgresql12-timescaledb 2.9.3-bp154.2.3.1.
References
docs.timescale.com/timescaledb/latest/overview/release-notes
github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9
github.com/timescale/timescaledb/commit/6275c2985927cfd4900b85cac5120227c8cb1f0c
github.com/timescale/timescaledb/commit/c8b8516e466c2bb7d2ae6a4b0b2e8e60b24b24a2
nvd.nist.gov/vuln/detail/CVE-2022-24128
github.com/advisories/GHSA-9cr2-2mw7-2c7r
Show 5 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24128.json
lists.opensuse.org/archives/list/[email protected]/thread/GV3YAZCCQFFLUXTBUKIOM7YTBZRCAM3A
bugzilla.suse.com/1197063
suse.com/security/cve/CVE-2022-24128
lists.opensuse.org/archives/list/[email protected]/thread/WRONJCUCI6J6SG66X575QCEEJ3L4FGTK