Skip to content

Commit

Permalink
Security considerations: Explain how the need for provenance...
Browse files Browse the repository at this point in the history
... checking of models also comes from possible implementation
differences caused by this grammar update.
  • Loading branch information
cabo committed Jun 20, 2024
1 parent 070bcd0 commit 46d9ee4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions draft-ietf-cbor-update-8610-grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,25 @@ environment that uses a combination of CDDL tools some of which have
been updated and some of which have not been, in particular based on
{{clari}}.

Attackers may want to exploit such potential confusion by crafting
CDDL models that are interpreted differently by different parts of a
system.
There will be a period of transition from the details that the
{{RFC8610}} grammar handled in a less well-defined way, to the updated
grammar defined in the present document.
This transition might offer one, but not the only kind of opportunity
for the kind of attack that relies on differences between
implementations.
Implementations that make use of CDDL models operationally already
need to ascertain the provenance (and thus authenticity and integrity)
and applicability of models they employ.
At the time of writing, it is expected that the models will generally
be processed by a software developer, within a software development
environment.
Developers are therefore advised in general to only import CDDL models
from authoritative sources, as with any other source code they might
want to integrate.

# IANA Considerations

This document has no IANA actions.
Expand Down

0 comments on commit 46d9ee4

Please sign in to comment.