CVE-2023-32305
Aiven vulnerability
aiven-extras is a PostgreSQL extension. Versions prior to 1.1.9 contain a privilege escalation vulnerability, allowing elevation to superuser inside PostgreSQL databases that use the aiven-extras package. The vulnerability leverages missing schema qualifiers on privileged functions called by the aiven-extras extension. A low privileged user can create objects that collide with existing function names, which will then be executed instead. Exploiting this vulnerability could allow a low privileged user to acquire `superuser` privileges, which would allow full, unrestricted access to all data and database functions. And could lead to arbitrary code execution or data access on the underlying host as the `postgres` user. The issue has been patched as of version 1.1.9.
Affected products
Aiven. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Aiven 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
- github.com/aiven/aiven-extras/security/advisories/GHSA-7r4w-fw4h-67gp · Vendor Advisory
- github.com/aiven/aiven-extras/commit/8682ae01bec0791708bf25791786d776e2fb0250 · Patch
- security.netapp.com/advisory/ntap-20230616-0006/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2023-32305
- cve.org/CVERecord?id=CVE-2023-32305
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.