Secure Parsing and Serializing with Separation Logic Applied to CBOR, CDDL, and COSE
arxiv.org·30w
🛡️CBOR Security
Preview
Report Post

arXiv:2505.17335v1 Announce Type: new Abstract: Incorrect handling of security-critical data formats, particularly in low-level languages, are the root cause of many security vulnerabilities. Provably correct parsing and serialization tools that target languages like C can help. Towards this end, we present PulseParse, a library of verified parser and serializer combinators for non-malleable binary formats. Specifications and proofs in PulseParse are in separation logic, offering a more abstract and compositional interface, with full support for data validation, parsing, and serialization. PulseParse also supports a class of recursive formats – with a focus on security and handling adversarial inputs, we show how to parse such formats with only a constant amount of stack space. We use Pul…

Similar Posts

Loading similar posts...