~/talk

How NOT to use DuckDB: How we introduced a CVSS 9.9 vulnerability into

Talkat DuckCon #6 · on Friday, 2025-01-31· [security]
github:samjewell
slides:none on file

Grafana integrates DuckDB via the CLI and ships it behind a feature flag, which enables dot commands (shell/system) and file readers like read_blob inside SQL; that combination creates CVSS 9.9 remote code execution and local file inclusion on multi-tenant instances. A few customers required the feature to be switched off, no evidence of exploitation was found, and fixes required private repo patches and rebuilt binaries; current mitigation is using an embedded version or a pure-Go SQL engine instead.

AI-written summary · about

  1. 0:00Integrating DuckDB in Grafana
  2. 1:34Discovering a security risk
  3. 2:18Analyzing the vulnerability
  4. 3:00Security impact and remediation
  5. 3:56Root cause of implementation
  6. 4:39Lessons learned
  7. 5:12Q&A and architectural insights
~/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.