michelp / pgsodium

Modern cryptography for PostgreSQL using libsodium.
Other
546 stars 32 forks source link

Use explicit schema in format calls in DO blocks #112

Open svenklemm opened 1 month ago

svenklemm commented 1 month ago

The DO blocks in the version update scripts did not sufficiently lock down search_path for the format calls allowing injection of a malicious format function to be executed during upgrades.