CVE-2023-25149

HIGH
Published Feb 14, 20233y ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
High
Find Similar
Published Feb 14, 2023 3y ago
Last Modified Jun 17, 2026 2w ago

Description

TimescaleDB, an open-source time-series SQL database, has a privilege escalation vulnerability in versions 2.8.0 through 2.9.2. During installation, TimescaleDB creates a telemetry job that is runs as the installation user. The queries run as part of the telemetry data collection were not run with a locked down `search_path`, allowing malicious users to create functions that would be executed by the telemetry job, leading to privilege escalation. In order to be able to take advantage of this vulnerability, a user would need to be able to create objects in a database and then get a superuser to install TimescaleDB into their database. When TimescaleDB is installed as trusted extension, non-superusers can install the extension without help from a superuser. Version 2.9.3 fixes this issue. As a mitigation, the `search_path` of the user running the telemetry job can be locked down to not include schemas writable by other users. The vulnerability is not exploitable on instances in Timescale Cloud and Managed Service for TimescaleDB due to additional security provisions in place on those platforms.

CVSS Details

Base Score
8.8
Exploitability
2.8
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 2

CWE-269 Improper Privilege Management Authorization
CWE-284

Affected Products 1

VendorProductVersionRange
timescaletimescaledb*≥2.8.0  –  ≤2.9.2

References 3

  • github.com https://github.com/timescale/timescaledb/pull/5259
    Patch
  • github.com https://github.com/timescale/timescaledb/releases/tag/2.9.3
    Release Notes
  • github.com https://github.com/timescale/timescaledb/security/advisories/GHSA-44jh-j22r-33wq
    MitigationThird Party Advisory

Remediation

  • github.com https://github.com/timescale/timescaledb/pull/5259
    Patch