TimescaleDB uses untrusted search path during extension upgrade
timescaledb
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| timescale timescaledb |
| No fix yet |
Original description
TimescaleDB is a time-series database for high-performance real-time analytics packaged as a Postgres extension. From version 2.23.0 to 2.25.1, PostgreSQL uses the search_path setting to locate unqualified database objects (tables, functions, operators). If the search_path includes user-writable schemas a malicious user can create functions in that schema that shadow builtin postgres functions and will be called instead of the postgres functions leading to arbitrary code execution during extension upgrade. This issue has been patched in version 2.25.2.
From the CVE record · GitHub_M