CVE-2022-24128
Timescaledb vulnerability
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.)
Affected products
Timescaledb. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Timescaledb runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- docs.timescale.com/timescaledb/latest/overview/release-notes/ · Vendor Advisory
- github.com/timescale/timescaledb/security/advisories/GHSA-fh8v-663w-79w9 · Third Party Advisory
- github.com/timescale/timescaledb/commit/6275c2985927cfd4900b85cac5120227c8cb1f0c
- github.com/timescale/timescaledb/commit/c8b8516e466c2bb7d2ae6a4b0b2e8e60b24b24a2
- nvd.nist.gov/vuln/detail/CVE-2022-24128
- cve.org/CVERecord?id=CVE-2022-24128
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.