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.)
References
Configurations
History
21 Nov 2024, 06:49
Type | Values Removed | Values Added |
---|---|---|
References | () https://docs.timescale.com/timescaledb/latest/overview/release-notes/ - Release Notes, Vendor Advisory | |
References | () https://github.com/timescale/timescaledb/commit/6275c2985927cfd4900b85cac5120227c8cb1f0c - | |
References | () https://github.com/timescale/timescaledb/commit/c8b8516e466c2bb7d2ae6a4b0b2e8e60b24b24a2 - | |
References | () https://github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9 - Third Party Advisory |
19 Mar 2022, 01:08
Type | Values Removed | Values Added |
---|---|---|
References | (CONFIRM) https://github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9 - Third Party Advisory | |
References | (MISC) https://docs.timescale.com/timescaledb/latest/overview/release-notes/ - Release Notes, Vendor Advisory | |
CWE | CWE-863 | |
CVSS |
v2 : v3 : |
v2 : 6.0
v3 : 8.0 |
CPE | cpe:2.3:a:timescale:timescaledb:*:*:*:*:*:*:*:* |
15 Mar 2022, 18:15
Type | Values Removed | Values Added |
---|---|---|
Summary | 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.) | |
References |
|
13 Mar 2022, 18:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-03-13 18:15
Updated : 2024-11-21 06:49
NVD link : CVE-2022-24128
Mitre link : CVE-2022-24128
CVE.ORG link : CVE-2022-24128
JSON object : View
Products Affected
timescale
- timescaledb
CWE
CWE-863
Incorrect Authorization