Re: [Cbor] [Technical Errata Reported] RFC8610 (6527)

Sean Bartell <smbarte2@illinois.edu> Tue, 13 April 2021 23:54 UTC

Return-Path: <smbarte2@illinois.edu>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 291A93A09B7 for <cbor@ietfa.amsl.com>; Tue, 13 Apr 2021 16:54:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MSGID_FROM_MTA_HEADER=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=illinois.edu
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aRooOrNaUBx0 for <cbor@ietfa.amsl.com>; Tue, 13 Apr 2021 16:54:46 -0700 (PDT)
Received: from mx0b-00007101.pphosted.com (mx0b-00007101.pphosted.com [148.163.139.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8B9C13A09BB for <cbor@ietf.org>; Tue, 13 Apr 2021 16:54:46 -0700 (PDT)
Received: from pps.filterd (m0166260.ppops.net [127.0.0.1]) by mx0b-00007101.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13DNqcKh032601; Tue, 13 Apr 2021 23:54:40 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illinois.edu; h=message-id : in-reply-to : references : date : from : to : cc : subject : content-type : content-transfer-encoding : mime-version; s=campusrelays; bh=aPL9wR8iIf+ApbhhDbtkOtS2R/m8xBQmvnGA4YIqWeE=; b=Zat8Jg6GwCT5WAtBgitYhsAsmr50AsqDljSh3LLfHobuX3f/a9MfexMFrYThKbn5jTOi 2WsOXPmKeEzRWGGelOHEF08I9MpzcL3A1euvU2ICz+TgYZLm9rGn6YK5RNkfWqwO1QDw J9kmcW75H7V2A8Z7XcbkHYpbQxUpm3bAQ2i5E3ljSITd2n7tAhdwa5Od+QXqYSilhcGX iJ/6jlGxTxLNvj0/nhe7VjN7srb3EeBKv0JWxv37PRT3VfbfR5Ppv0KctXDFsIaybhtZ 3nI2znShZR3QKbTyaXpKZDxfCk0YM27Df5ISri8K7s6hGmjhjh5e624zNkWqwyZRDwpr pQ==
Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2047.outbound.protection.outlook.com [104.47.73.47]) by mx0b-00007101.pphosted.com with ESMTP id 37vu17q24n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Apr 2021 23:54:40 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EigGvCOgzN2kwG6Bqr6lt8cbdKkIRYHXdRhaHCwlHr8ziWHHES6fAvBJvL6IoMHFAOBlpGr3PE7GsrLx+gwlN8klNC7irJhfVZJLTNyWsCv2fXBwsRRPDNHyQSo7EUlBfxuHA9+CT8qxEIAIH6lGQRouW40oYK1UcP201D74PM552/Udp/39tluH5pAg12slq+EqLhzmVMweqiFqH8Hg8RWPpFqfLRR6eoQQAMQtKk+ZY+qPFR5btxxtPSOMD4x8QsgZt8TNS2AWIgqyLi0e3fBdJkugy2RG8z+saK5WzeE90XdJ2PT68BRyypL5QV9s3Uc1aom4S8C/NnRDWfgyOQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aPL9wR8iIf+ApbhhDbtkOtS2R/m8xBQmvnGA4YIqWeE=; b=BhbdvRv0YcWMYyj2DXNKyz/6qlTErKzPQjrSMoy5sGwpvUQPXnC2y0KJiq9fZvSFwKVphH40fWSddjKBGeuosVg3Yx7s2mHdOQFq7o1LeQxjJCZyJaP+i2E4m2f3jadHrm0PUIHoL4FWBwjzmFPXx11M+Y0rMZ0Pw5iJ7WhNMM3uLhCfHgeU46++fePZ9Mq5eQmE4HeW2Mj10Z7tayfLkMQ12LZYaGrSluywKxffcY6VwNnDo/suBemwPLpUygJhVWSzNlpRF5LsFhoaeDaBV8JcypkOQxw80aIHJOb+qpMFst+C5jpviQhBfzG6XV/dVutOsFQmrH86zCyjzojhDw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=illinois.edu; dmarc=pass action=none header.from=illinois.edu; dkim=pass header.d=illinois.edu; arc=none
Authentication-Results: amsuess.com; dkim=none (message not signed) header.d=none;amsuess.com; dmarc=none action=none header.from=illinois.edu;
Received: from DM6PR11MB3834.namprd11.prod.outlook.com (2603:10b6:5:137::27) by DM5PR11MB0060.namprd11.prod.outlook.com (2603:10b6:4:63::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.27; Tue, 13 Apr 2021 23:54:39 +0000
Received: from DM6PR11MB3834.namprd11.prod.outlook.com ([fe80::345a:a90f:6d5f:fe3e]) by DM6PR11MB3834.namprd11.prod.outlook.com ([fe80::345a:a90f:6d5f:fe3e%7]) with mapi id 15.20.4020.022; Tue, 13 Apr 2021 23:54:39 +0000
X-ME-Sender: <xms:Oy92YF3j-iMsFfyuJ2FkSH-_6PpOQ-L7HFLbOrzRRCQizwSPiI11xA> <xme:Oy92YMF4ykElbqYCVgpzNN9aILGx-2y2QqRuuJWNtudRNqUow3QMUA7NuHwS2Fw51 retkCitqB61aODOHNs>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeltddgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfufgv rghnuceurghrthgvlhhlfdcuoehsmhgsrghrthgvvdesihhllhhinhhoihhsrdgvughuqe enucggtffrrghtthgvrhhnpeeikeffheethfffvdeikedtlefhieekhfejueetteejkeel tedvleevjedvgeefveenucffohhmrghinheprhhftgdqvgguihhtohhrrdhorhhgpdhurh hluggvfhgvnhhsvgdrtghomhdpihgvthhfrdhorhhgnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepsggrrhhtvghllhdomhgvshhmthhprghuth hhphgvrhhsohhnrghlihhthidqleefheduvddvtddtqddvtdeileduleeikedqshhmsggr rhhtvgdvpeepihhllhhinhhoihhsrdgvughusehsvghnthdrtghomh
X-ME-Proxy: <xmx:Oy92YF4o_5KJ0BoLCaxb-YlBuRx5tKR5Xt76RCdU6_IDSSIp0bCG1A> <xmx:Oy92YC0QdNSYEQcEObTsYkZ1lJyrgUrpc9oyzNm_mBY_m7OcFok_Vw> <xmx:Oy92YIEVs-dg6mmvfMhjhx1fK5CHvm9uLgVtxiKEAAsgfKOyE4M-Lw> <xmx:PS92YNMZy1L6diNT2h3ctuR851kd-nFL6j85mfq5c_fxa7GRC_47r-myWKw>
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-273-g8500d2492d-fm-20210323.002-g8500d249
Message-Id: <5a2abb26-2a17-4b1b-b491-7bac8485e69a@www.fastmail.com>
In-Reply-To: <73c7a676bea744e48390f9fdb2639843@DM6PR11MB3834.namprd11.prod.outlook.com>
References: <20210411161045.9648FF40799@rfc-editor.org> <4986660B-EDCC-4D07-A74E-BBEBE698721D@tzi.org> <2E410DD1-D0E2-4137-B7E7-7FB18CF71971@tzi.org> <CALaySJJAzJgtQY9wuF1dgCQRfTSAz3Ofva-N-EwqcFGo_d6XEw@mail.gmail.com> <513F7F4F-E791-4B96-AF3E-42A7B1447EF7@ericsson.com> <73c7a676bea744e48390f9fdb2639843@DM6PR11MB3834.namprd11.prod.outlook.com>
Date: Tue, 13 Apr 2021 18:54:15 -0500
From: Sean Bartell <smbarte2@illinois.edu>
To: Carsten Bormann <cabo@tzi.org>, Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org>
Cc: Barry Leiba <barryleiba@computer.org>, Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, "cbor@ietf.org" <cbor@ietf.org>, "Murray S. Kucherawy" <superuser@gmail.com>, Christian Amsüss <christian@amsuess.com>, "christoph.vigano@uni-bremen.de" <christoph.vigano@uni-bremen.de>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [66.111.4.227]
X-ClientProxiedBy: MN2PR16CA0042.namprd16.prod.outlook.com (2603:10b6:208:234::11) To DM6PR11MB3834.namprd11.prod.outlook.com (2603:10b6:5:137::27)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from auth1-smtp.messagingengine.com (66.111.4.227) by MN2PR16CA0042.namprd16.prod.outlook.com (2603:10b6:208:234::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.16 via Frontend Transport; Tue, 13 Apr 2021 23:54:38 +0000
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 9F17427C0061; Tue, 13 Apr 2021 19:54:37 -0400 (EDT)
Received: from imap10 ([10.202.2.60]) by compute6.internal (MEProxy); Tue, 13 Apr 2021 19:54:37 -0400
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8FF1E4E009D; Tue, 13 Apr 2021 19:54:35 -0400 (EDT)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 363728a9-8138-46b7-918a-08d8fed77fbd
X-MS-TrafficTypeDiagnostic: DM5PR11MB0060:
X-Microsoft-Antispam-PRVS: <DM5PR11MB0060AE2B35808BD32C7E7D97F74F9@DM5PR11MB0060.namprd11.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: nqi2goGnSiBO08wxhW829cKnHd8Z+74E9jyCfJMf98M4TkVluqzkEEIaTutJJb0fIXGvnfPNY6PMzq7Ss+k8qRSI3OPhdCO0o+81EsPZQn/jvlF0F+XCFnP7iLHIcvvrkjykQ+npUAlutpe1swsedUgCx8X0dglvgcO7r2KVqiAU+xpNLBF/TfPgVW6WFxL2cYqelKDkfPeEM69ql3QOLVP8XpKhLolnjD9Y+AM+ph0PWVgi5rQUvR4/j/9OvAHagcgs/clk1CVwkI+XJXOAm3IydEibHOsWJR8C5E4HbWUXn887u7QK1HK/ob41d2AfzMVo2SCcNjAP6KyxwDY2Yc/XXE1z5QOWOGvTN5WwSKlN125Iq0u9aSDSEiKmVT/RDmBjDl+TV+vg1r0pCgdLzg+uYUvMqhIDN+QBpV8t8kdvHFy3Gki/HGNuY9RpoAeRMJVZmKqPbFlTUwtsut8Iz2ozoBi+E/S1+J4EvPeKkud3DyvBB/6T7rptaZhCB7MD9f6BU20kwDKQwoHTic43aUoVDzuJdUbC8Aw7GEeO2Z3I33kml1KohVWnE107mxz1crp7ENiuVwAl074S/re4eRfFXhcgxG3TZqeNtO1uNoGYGUxnE28edZmf84L1rmCc7MFpR92YmdJ1Yihie/BAjLt8N8YwFtYp657iAQd3dkDW3hU49sdIDDPn5gZ0XBiVvWZjyFMnbtww5fYs02Yhr6EKgk3JoP5RG3VTyJVYPp1//OGmbeXIxVqogGK3NMDjJ+mwJh2t3vs8JN6/olsBf/7tmcFl6cMaaQlhmyuHOLk=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3834.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39840400004)(396003)(136003)(366004)(376002)(8676002)(66946007)(75432002)(53546011)(9686003)(2906002)(66476007)(31696002)(786003)(66556008)(38350700002)(54906003)(52116002)(38100700002)(8936002)(83380400001)(6666004)(316002)(110136005)(478600001)(5660300002)(186003)(4326008)(26005)(6266002)(31686004)(42186006)(966005)(86362001)(40310500001)(40720500001); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData: 3EIrb9B0pK9ZMVhtc78uvvKORKuh8/hpIhxT4ip3/YgqK1FgACZnAkoD7eLMLZZSBqELBkjVXmmNLqDTEWDv5tMCzyEfuG3qdHM+6PQJvYUtRhVGAkbbKtbIsgeOI80N1wAoMbNt3cu2wAubsA9oClJ41xi4uwZI7/rcif23K2+uAmCdeNjlSFjQesedpPlNSUsU839kZtLnnl1FCFClrC3kNSRTzqRJlQWRTKdKJg+Yuciv7dI8TWtA7HM7xZIItXJGCR0iCEJ17R552k+kepKcKJPoEIq6Qt0ok+JrPayGOBLoDYkTxNkN1wLaEA4tYXsMpCe3gACtFgj8gp+Q9XT8KC/l3tSJVjITwc338LddA1kwV0DqJHp0BYKoqm02qualGpHQf+86pTIoAg5M/t2v9+9drtBiqglagf4fw2wUfjbnMaGHdlzCUaouZMcHT2nJbp17UImuwCgPfGUem13Caq+vyPAYbDaEpdcybwIs9lHC/+7l8JeRHEYwUBhdO03NpI9jw/GkbDhHjlO323jxszxEfXHUAx8g1ASpCegZuluoESHUdDVnzpCkxgUaP8jfEE2g9rN9FJ0mqs58uxhldRUclTJf+CqLlH69VicqkKT8pxDt+JbLuZrt7USFHkSLZElk2vDB6O8KW50QwpXsZwSYtn70VXS5m0aeU2YFU/DzJjuBrLDH0LDsRXTyjG7aJfbnsuMuQq+zno8f3Z176RdpVDN9nnT+1KPBMDkEUjGClAnQDr2fCLphsJNqPcHvO7PCwVH+Uj6pc0nH2MkM3NgcTKzYZbH+466Xk4+PXex+TuThq/MhLmNRJOMUavfhbTyQ3Qq1DKB86K25pQGaonyzXoWcIEzX+TsfBr0P/ienrO7A8G9zP3zgpBxGgMa9j5RHfwtN72hO/76o0waZv6koSwYFI531Fb6RnwqBLn7ZFCHh+cjAdROeSxl4UPI4wt7i2dP32KrOh3dI7F+WrpgmsTJ+X0oXFpE1oL3fzooq0ucxDBbAk+rUras0XZN3ENo+2UBV79Q0GP3UTXC3TrwcMGYMp7EijxJ+5OV0kGrqIYTyIHCHqTot7OtBk3ePmKayYECfl2+ut08UqvPlGivwoWG3k1aBx+Nk+X7u4DF4kfD7dQyFQSSn/b+EFfvJjjaVdhvnNtedidwDw6+rtr9l5SFc+zZ5E15j0jTbsqu5gnhE7o70aC6Tc+JFNMEOOJD8nK14NogfcHMCy/AGRu3AA/1H9knVWra7wJOEtAxP4J7q4sX7g/iGWl0Kcdt9/NGIRCxi4HyK6jd5A2+h6rl+PUKwaWJCgnVN0xpfl1120HmS85DdhgVsCv/X
X-OriginatorOrg: illinois.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 363728a9-8138-46b7-918a-08d8fed77fbd
X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3834.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2021 23:54:38.9627 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 44467e6f-462c-4ea2-823f-7800de5434e3
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 8fjWPJkEB/TyuzdGxrHdWjFOTOEtcataNdy7wGyvtSQMtOi82p9l2DHpsnOjm0JZ0tb08imGSfxJeRjAmu9KJg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB0060
X-Proofpoint-GUID: 4sFyAzLKNTzePr5X6D8FgmWv8NlUE8gN
X-Proofpoint-ORIG-GUID: 4sFyAzLKNTzePr5X6D8FgmWv8NlUE8gN
X-Spam-Details: rule=cautious_plus_nq_notspam policy=cautious_plus_nq score=0 impostorscore=0 phishscore=0 spamscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 clxscore=1011 mlxscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104130156
X-Spam-OrigSender: smbarte2@illinois.edu
X-Spam-Bar:
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/El5mbcWhL-LBvNXel-6-K_r4Bc4>
Subject: Re: [Cbor] [Technical Errata Reported] RFC8610 (6527)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Apr 2021 00:25:25 -0000

> >    On Tue, Apr 13, 2021 at 8:13 AM Carsten Bormann <cabo@tzi.org> wrote:
> >> 
> >> I was too lazy to find some ABNF so I wrote my own.
> >> 
> >> 76c76,84
> >> < SESC = "\" (%x20-7E / %x80-10FFFD)
> >> ---
> >>> 
> >>> SESC = "\" ( %x22 / %x2F / %x5C / %x62 / %x66 / %x6E / %x72 / %x74 /
> >>>             (%x75 hexchar) )
> >>> 
> >>> hexchar = ((DIGIT / "A"/"B"/"C" / "E"/"F") 3HEXDIG) /
> >>>           ("D"
> >>>            (( %x30-37 2HEXDIG ) /
> >>>             (("8"/"9"/"A"/"B") 2HEXDIG "\" %x75 "D"
> >>>              ("C"/"D"/"E"/"F") 2HEXDIG )))
> >> 79c87
> >> < BCHAR = %x20-26 / %x28-5B / %x5D-10FFFD / SESC / CRLF
> >> ---
> >>> BCHAR = %x20-26 / %x28-5B / %x5D-10FFFD / SESC / "\'" / CRLF
> >> 
> >> 
> >> The second change is necessary as SESC is now narrowly restricted to the escape combinations that JSON allows in text strings, and \' is not among those.
> >> 

This ABNF looks correct to me, but it obfuscates more than it clarifies. I would suggest following the example of the JSON RFC (https://www.rfc-editor.org/rfc/rfc8259.html#section-7). The ABNF there allows arbitrary hex digits (%x75 4HEXDIG), but the text clarifies how non-BMP characters are handled. A similar situation already exists for base64 bytestrings, for which CDDL's ABNF allows invalid base64.

It's also not clear to me whether \' should be allowed in text strings, or whether \" should be allowed in byte strings. Allowing them would make both types of strings consistent with each other, but prohibiting them would let text strings use the exact same syntax as JSON. And one more issue: the ABNF currently allows CRLF in unprefixed byte strings, and I'm not sure whether that's intentional.

> > On 2021-04-13, at 15:29, Francesca Palombini <francesca.palombini=40ericsson.com@dmarc.ietf.org> wrote:
> > 
> > I agree with Barry in that this seems to require more thinking and broader review and consensus. Carsten, you seem to imply that this should instead be rejected, with the motivation that it would need a new document (updating 8610), is that right ?
> > 
> > (For everybody not familiar with the errata status definition: https://urldefense.com/v3/__https://www.rfc-editor.org/errata-definitions/__;!!DZ3fjg!soSEF4XBhOUPRdN5wSzvAeVKOyu_4HkZe_d06IEV4huYgnyqgimjYJH9OeHL0LITxA8$ 
> > Hold for document update: “The erratum is not a necessary update to the RFC. However, any future update of the document might consider this erratum, and determine whether it is correct and merits including in the update.”
> > Rejected: “The erratum [...] proposes a change to the RFC that should be done by publishing a new RFC that replaces the current RFC. In the latter case, if the change is to be considered for future updates of the document, it should be proposed using channels other than the errata process, such as a WG mailing list.”)

More guidance on the errata process (https://www.ietf.org/about/groups/iesg/statements/processing-rfc-errata/): "Changes that modify the working of a protocol to something that might be different from the intended consensus when the document was approved should be either Hold for Document Update or Rejected. Deciding between these two depends on judgment. Changes that are clearly modifications to the intended consensus, or involve large textual changes, should be Rejected. In unclear situations, small changes can be Hold for Document Update."

As I interpret it, if this is a "small change", and there was no clear "intended consensus" about which escape codes should be allowed, the erratum can be marked as "Hold for Document Update".

FWIW, I'm not actually using CDDL at the moment. I'm using the extended diagnostic notation, and I was using the CDDL ABNF to narrow down my choice of syntax.

Sean