CVE-2023-32305
aiven-extras PostgreSQL Privilege Escalation Through Overloaded Search Path
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-05-08 CVE Reserved
- 2023-05-12 CVE Published
- 2024-08-02 CVE Updated
- 2024-10-22 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
- CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://security.netapp.com/advisory/ntap-20230616-0006 | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/aiven/aiven-extras/commit/8682ae01bec0791708bf25791786d776e2fb0250 | 2024-02-01 |
URL | Date | SRC |
---|---|---|
https://github.com/aiven/aiven-extras/security/advisories/GHSA-7r4w-fw4h-67gp | 2024-02-01 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Aiven Search vendor "Aiven" | Aiven Search vendor "Aiven" for product "Aiven" | < 1.1.9 Search vendor "Aiven" for product "Aiven" and version " < 1.1.9" | postgresql |
Affected
| in | Postgresql Search vendor "Postgresql" | Postgresql Search vendor "Postgresql" for product "Postgresql" | >= 10.0 <= 10.22 Search vendor "Postgresql" for product "Postgresql" and version " >= 10.0 <= 10.22" | - |
Safe
|
Aiven Search vendor "Aiven" | Aiven Search vendor "Aiven" for product "Aiven" | < 1.1.9 Search vendor "Aiven" for product "Aiven" and version " < 1.1.9" | postgresql |
Affected
| in | Postgresql Search vendor "Postgresql" | Postgresql Search vendor "Postgresql" for product "Postgresql" | >= 11.0 <= 11.7 Search vendor "Postgresql" for product "Postgresql" and version " >= 11.0 <= 11.7" | - |
Safe
|
Aiven Search vendor "Aiven" | Aiven Search vendor "Aiven" for product "Aiven" | < 1.1.9 Search vendor "Aiven" for product "Aiven" and version " < 1.1.9" | postgresql |
Affected
| in | Postgresql Search vendor "Postgresql" | Postgresql Search vendor "Postgresql" for product "Postgresql" | >= 12.0 <= 12.12 Search vendor "Postgresql" for product "Postgresql" and version " >= 12.0 <= 12.12" | - |
Safe
|
Aiven Search vendor "Aiven" | Aiven Search vendor "Aiven" for product "Aiven" | < 1.1.9 Search vendor "Aiven" for product "Aiven" and version " < 1.1.9" | postgresql |
Affected
| in | Postgresql Search vendor "Postgresql" | Postgresql Search vendor "Postgresql" for product "Postgresql" | >= 13.0 <= 13.8 Search vendor "Postgresql" for product "Postgresql" and version " >= 13.0 <= 13.8" | - |
Safe
|
Aiven Search vendor "Aiven" | Aiven Search vendor "Aiven" for product "Aiven" | < 1.1.9 Search vendor "Aiven" for product "Aiven" and version " < 1.1.9" | postgresql |
Affected
| in | Postgresql Search vendor "Postgresql" | Postgresql Search vendor "Postgresql" for product "Postgresql" | >= 14.0 <= 14.5 Search vendor "Postgresql" for product "Postgresql" and version " >= 14.0 <= 14.5" | - |
Safe
|