~/talk

Parsing JSON Is a Minefield

TalkinFrenchat Black Alps 2017 · 2017-11-15..11-16· [security]
slides:none on file

Examines how various JSON libraries differ in behavior by building a test corpus from JSON specifications (RFCs) and running libraries against it; finds many inconsistencies, edge cases and malformed payloads that can trigger bugs, crashes and DoS (including a SQLite stack overflow). Explains the methodology of deriving test cases from evolving, loosely specified RFC details to uncover parsing vulnerabilities and implementation flaws.

AI-written summary · about

  1. 0:00Introduction
  2. 2:09Fridge as analogy
  3. 4:13JSON spec origins
  4. 7:46Parser tests
  5. 10:15Nested structures
  6. 12:03Number precision
  7. 14:06String encoding
  8. 18:14Parser inconsistencies
  9. 21:02Testing popular parsers
  10. 24:11Unicode edge cases
  11. 26:39Reference flaws
  12. 28:47Output differences
  13. 30:58Key normalization
  14. 32:25Writing a parser
  15. 33:07JSON fragility
  16. 34:32Community feedback
  17. 37:20Security implications
  18. 38:44JSON spec updates
  19. 39:34Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.