Access Control Bypass Affecting timescale/timescaledb package, versions [2.8.0,2.9.3)


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.18% (55th percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UNMANAGED-TIMESCALETIMESCALEDB-3319678
  • published 14 Feb 2023
  • disclosed 14 Feb 2023
  • credit Unknown

How to fix?

Upgrade timescale/timescaledb to version 2.9.3 or higher.

Overview

Affected versions of this package are vulnerable to Access Control Bypass. During installation, TimescaleDB creates a telemetry job that 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.

NOTE: 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.