CVE-2023-32305: aiven-extras PostgreSQL Extension - Privilege Escalation
- Cve: CVE-2023-32305
- Name: aiven-extras PostgreSQL Extension - Privilege Escalation
- Description: 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.
- Impact: Low privileged users can escalate privileges to superuser, gaining full access to data, functions, and potentially executing arbitrary code on the host.
- Remediation: Update to version 1.1.9 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to be a low privileged user
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00727
- Epss percentile: 0.54895
- Assignee: [email protected]
- Published at: 2023-05-12T19:15:08Z
- Age in days: 1292
- Modified at: 2026-06-17T05:58:31Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-32305
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-noinfo | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| aiven:aiven | < 1.1.9 | yes | nvd | /v1/products/aiven/aiven |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| aiven/aiven-extras | commit, security_advisory | yes | /v1/repositories/aiven/aiven-extras |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts