{"id":"CVE-2025-31480","published":"2025-04-04T14:49:30Z","modified":"2025-04-04T14:57:54Z","title":"aiven-extras allows PostgreSQL Privilege Escalation through format function","vendor":"aiven","product":"aiven-extras","tier":"tail","description":{"text":"aiven-extras is a PostgreSQL extension. This is a privilege escalation vulnerability, allowing elevation to superuser inside PostgreSQL databases that use the aiven-extras package. The vulnerability leverages the format function not being schema-prefixed. Affected users should install 1.1.16 and ensure they run the latest version issuing ALTER EXTENSION aiven_extras UPDATE TO '1.1.16' after installing it. This needs to happen in each database aiven_extras has been installed in.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00496,"percentile":0.43423,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/aiven/aiven-extras/security/advisories/GHSA-33xh-jqgf-6627","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":8.68},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"aiven","affectedVersions":[{"vendor":"aiven","product":"aiven-extras","versions":["< 1.1.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-04T14:57:39.462536Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-9753","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aiven-extras-cve-2023-32305","parents":[{"from":"CVE-2023-32305","to":"CVE-2025-31480","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["sql/aiven_extras.sql"],"commits":["https://github.com/aiven/aiven-extras/commit/8682ae01bec0791708bf25791786d776e2fb0250","https://github.com/aiven/aiven-extras/commit/77b5f19a0c1d196bc741ff5c774f85fe7ca3063b"],"basis":"rarely changed file"}]}]}}