From 8670c63c55251999fc2a36f5f3fa1a8f88aad082 Mon Sep 17 00:00:00 2001 From: Faye Amacker <33205765+fxamacker@users.noreply.github.com> Date: Sun, 30 Mar 2025 22:09:32 -0500 Subject: [PATCH] Clarify a security consideration Old text: CCF decoders MUST detect and reject malformed data before checking for validity. [Appendix F](https://www.rfc-editor.org/rfc/rfc8949.html#name-well-formedness-errors-and-) of RFC 8949 defines well-formedness of encoded CBOR data. New text: CCF decoders MUST detect and reject malformed data items before checking for validity. [Section 1.2](https://www.rfc-editor.org/rfc/rfc8949.html#section-1.2) of RFC 8949 defines "well-formed" data items. --- ccf_specs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccf_specs.md b/ccf_specs.md index 95ee015..f62004e 100644 --- a/ccf_specs.md +++ b/ccf_specs.md @@ -262,7 +262,7 @@ CBOR security considerations in [Section 10](https://www.rfc-editor.org/rfc/rfc8 There are two types of checks for acceptable data: well-formedness and validity. -CCF decoders MUST detect and reject malformed data before checking for validity. [Appendix F](https://www.rfc-editor.org/rfc/rfc8949.html#name-well-formedness-errors-and-) of RFC 8949 defines well-formedness of encoded CBOR data. +CCF decoders MUST detect and reject malformed data items before checking for validity. [Section 1.2](https://www.rfc-editor.org/rfc/rfc8949.html#section-1.2) of RFC 8949 defines "well-formed" data items. CCF decoders SHOULD detect and reject malformed data before creating Cadence objects and without requiring Cadence type information.