CVE-2023-32305

HIGH EPSS 49.5%
Published May 12, 20233y ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
High
Find Similar
Published May 12, 2023 3y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
8.8
Exploitability
2.8
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
49.5% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 2

CWE-1321
CWE-20 Improper Input Validation Validation

Affected Products 6

VendorProductVersionRange
aivenaiven* <1.1.9
postgresqlpostgresql*≥10.0  –  ≤10.22
postgresqlpostgresql*≥11.0  –  ≤11.7
postgresqlpostgresql*≥12.0  –  ≤12.12
postgresqlpostgresql*≥13.0  –  ≤13.8
postgresqlpostgresql*≥14.0  –  ≤14.5

References 3

  • github.com https://github.com/aiven/aiven-extras/commit/8682ae01bec0791708bf25791786d776e2fb0250
    Patch
  • github.com https://github.com/aiven/aiven-extras/security/advisories/GHSA-7r4w-fw4h-67gp
    Vendor Advisory
  • security.netapp.com https://security.netapp.com/advisory/ntap-20230616-0006/
    Third Party Advisory

Remediation

  • github.com https://github.com/aiven/aiven-extras/commit/8682ae01bec0791708bf25791786d776e2fb0250
    Patch