Untrusted search path in PostgreSQL amcheck allows a grantee of amcheck function EXECUTE privilege to execute arbitrary functions as the owners of expression indexes that depend on the search path, via setting a hostile search path before calling the amcheck function. Within major versions 18, 16, 15, and 14, minor versions before PostgreSQL 18.6, 16.15, 15.19, and 14.24 are affected. PostgreSQL 17 is unaffected.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 4
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Postgresql Postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
|
14.0
|
14.24
|
|
Postgresql Postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
|
15.0
|
15.19
|
|
Postgresql Postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
|
16.0
|
16.15
|
|
Postgresql Postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
|
18.0
|
18.5
|