CVE-2023-32305

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-32305
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-32305.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-32305
Aliases
  • GHSA-7r4w-fw4h-67gp
Published
2023-05-12T18:46:55Z
Modified
2025-10-30T20:21:47.347353Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
aiven-extras PostgreSQL Privilege Escalation Through Overloaded Search Path
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-1321",
        "CWE-20"
    ]
}
References

Affected packages

Git / github.com/aiven/aiven-extras

Affected ranges

Type
GIT
Repo
https://github.com/aiven/aiven-extras
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0
1.0.1
1.0.2
1.0.3
1.0.4
1.1.0
1.1.1
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8