CVE-2023-32305CWE-1321CWE-20

aiven-extras PostgreSQL Privilege Escalation Through Overloaded Search Path

High · published May 12, 2023

CVSS v3.1
8.8
EPSS
1%
Percentile
53.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00727 · 53.6th percentile
Weaknesses
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'); CWE-20 · Improper Input Validation
Published
2023-05-12T18:46Z
EPSS history
Timeline
  • 12 MAY 18:46Z
    aiven-extras PostgreSQL Privilege Escalation Through Overloaded Search Path
    cvelistv5