Skip to content

Security vulnerability with call to array_to_string #836

@ujjwalpl

Description

@ujjwalpl

pg_partman SQL extension code calls array_to_string without specifying the namespace pg_catalog. An attacker can escalate privileges by defining own array_to_string SQL function that has arbitrary code in it when postgresql server calls the defined malicious function. We need to fix the pg_partman extension SQL definitions so that calls to array_to_strings are changed to pg_catalog.array_to_strings.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions