Vulnerability Details : CVE-2022-24128
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.)
Vulnerability category: Gain privilege
Products affected by CVE-2022-24128
- cpe:2.3:a:timescale:timescaledb:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24128
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24128
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.0
|
MEDIUM | AV:N/AC:M/Au:S/C:P/I:P/A:P |
6.8
|
6.4
|
NIST | |
8.0
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
2.1
|
5.9
|
NIST |
CWE ids for CVE-2022-24128
-
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-24128
-
https://docs.timescale.com/timescaledb/latest/overview/release-notes/
Release notes | Timescale DocsRelease Notes;Vendor Advisory
-
https://github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9
TimescaleDB 1.x and 2.x through 2.5.1 has incorrect access control · Advisory · timescale/timescaledb · GitHubThird Party Advisory
-
https://github.com/timescale/timescaledb/commit/c8b8516e466c2bb7d2ae6a4b0b2e8e60b24b24a2
Fix extension installation privilege escalation · timescale/timescaledb@c8b8516 · GitHub
-
https://github.com/timescale/timescaledb/commit/6275c2985927cfd4900b85cac5120227c8cb1f0c
Fix extension installation privilege escalation · timescale/timescaledb@6275c29 · GitHub
Jump to