~/talk

What does it take to onboard an extension?

Talkat PostgreSQL Conference Europe 2024 · 2024-10-22..10-25· [security, databases]
slides:none on file

Explains the exact gatekeeping steps used to onboard PostgreSQL extensions to Azure: inspect makefiles and control files for file writes and privilege escalation, audit upgrade scripts for unqualified names and operator/function overload hijacks, scan compiled objects and linked libraries for static crypto or unsafe deps, check license trees (example: Rust crate ring), and test builds and installs in a jailed Docker while recording filesystem and network activity. Demonstrates attacks that overwrite other extension SQL files, cause server crashes or silent memory corruption, and recommends explicit qualification and trusted flag scrutiny.

AI-written summary · about

  1. 0:00Introduction to extensions
  2. 1:05What are PostgreSQL extensions
  3. 2:31Minimalistic extension example
  4. 7:28Installing the pair extension
  5. 15:21How PostgreSQL handles extensions
  6. 17:27Security risks in extension scripts
  7. 20:37Malicious make file example
  8. 24:21Consequences of malicious make files
  9. 27:45Build install best practices
  10. 29:28Control file security risks
  11. 31:15Superuser privileges in extensions
  12. 31:58Risks of compiled extension code
  13. 34:29What compiled code can do
  14. 37:19Extension review process
  15. 42:37Safe extension deployment tips
  16. 43:42Q&A on extension registries
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.