Files
inbuxa-server/crates/jmap-proto
jcoffey-dev ffeb1aeb65 JMAP: parse escaped slashes in a key as nested pointers only 8 deep
A property key whose first part holds an escaped "/" (~1) is parsed
again as a pointer, and each level can escape the one inside it. A key
built that way and nested a few thousand deep, well inside the default
request size, recursed once per level: on a 2 MiB stack, like a tokio
worker's, it overflowed and aborted the server. Past 8 levels the text
is now kept as a plain key, which is also what RFC 6901 says "~1" means.
2026-10-27 23:59:12 -07:00
..
2026-10-18 13:51:24 -07:00