Re: [calsify] [Last-Call] Secdir last call review of draft-ietf-calext-ical-relations-08

Michael Douglass <mikeadouglass@gmail.com> Mon, 08 November 2021 16:55 UTC

Return-Path: <mikeadouglass@gmail.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 313DF3A11FA; Mon, 8 Nov 2021 08:55:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.429
X-Spam-Level:
X-Spam-Status: No, score=-5.429 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-3.33, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 B5S8fTF0TMNF; Mon, 8 Nov 2021 08:55:08 -0800 (PST)
Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8425C3A11F8; Mon, 8 Nov 2021 08:55:08 -0800 (PST)
Received: by mail-qt1-x829.google.com with SMTP id 8so14244871qty.10; Mon, 08 Nov 2021 08:55:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=4o3ZQha1hI821XxvyFgwtI5TZZa0YvPd+9fPkv1ramw=; b=PPJGfR/Of/UvZZXrogczWv19EItuww0Q55j+kKH1IvJW9FLrczy0ymy5oQp6naDDFI KZgOo5tvqFzJFlYXvv1AQIDgcY2SQsicddRO6ZMkkcd9V3YyuCZLoH0hJmhNNt025K4/ uye9qKbKDBkH5p1IBnQ84155Wdu7yThoDjfW5g8SLd8r+1QkmlKRn6+dJLew4WNtCWRV /KqDfG+Q5zkKPVyBFJMr7ZVYZ8jlot3//0t/naF0TS935u1magPFAQ1mhvWAIqPCJtlm G5WaJ5w3Ngc0a76mBkuYAA++0boesVgkGFL7m4mO26CrM7QR14/Zv4wz2OjEMpMNwtdZ 9vwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=4o3ZQha1hI821XxvyFgwtI5TZZa0YvPd+9fPkv1ramw=; b=8K9xjO8LRIao2nSgtCCkXbi72WEvj5YnTZ1pQ9hyYwz4OMuidn5DqwCEVc0xphlJ6z B4ZqqhGJqqbSUuuO4GxSfFE6/bhx0no8v3N+opadH1nXng7/G12OTMh11r89AZ0bSz9+ nzwi7t1EdKHEA7FSUirkogX54nbhOFHKk4zq8Dakd56LfniEEFtJowkhtBfYsrBuT8nZ 7lZSXtE02QRIl83S4U8ne0GB8E8MKj6hA7w+rIzL7sBAwOdwXtqElfzm4EF8ES7CRjq+ vtj8rZ/nzbmMsC2w9hUkw4noTdoDjxB5OLBLPuAtx/3MWcf90yDL5Vcu4rNY409HrJdE IN2w==
X-Gm-Message-State: AOAM533hX1du5dM1ukPrycDfBxMoNhj80EFkyAVCu43cPTNRlDFLvRrF PCLKqjZxqsA1cJG7i8JsrK0=
X-Google-Smtp-Source: ABdhPJwrvs9wgSyVNdCdQdzaqobkhYMLoaXC6zlYQ1HwLKaEFEnnHhjtz+QgUsnuRLo9mnlwNs5GYw==
X-Received: by 2002:ac8:59cb:: with SMTP id f11mr954541qtf.99.1636390506735; Mon, 08 Nov 2021 08:55:06 -0800 (PST)
Received: from [192.168.1.149] (cpe-74-70-70-237.nycap.res.rr.com. [74.70.70.237]) by smtp.googlemail.com with ESMTPSA id b20sm11538649qtx.89.2021.11.08.08.55.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Nov 2021 08:55:06 -0800 (PST)
Message-ID: <2f1455f9-f4a9-995d-3496-900d8f495cc8@gmail.com>
Date: Mon, 08 Nov 2021 11:55:05 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0
Content-Language: en-US
To: Catherine Meadows <catherine.meadows@nrl.navy.mil>, secdir@ietf.org
Cc: draft-ietf-calext-ical-relations.all@ietf.org, last-call@ietf.org, calsify@ietf.org
References: <163527417024.2618.2790897732112692791@ietfa.amsl.com>
From: Michael Douglass <mikeadouglass@gmail.com>
In-Reply-To: <163527417024.2618.2790897732112692791@ietfa.amsl.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/3Dt3nEPEFon05mE_O6iEi1rmd58>
Subject: Re: [calsify] [Last-Call] Secdir last call review of draft-ietf-calext-ical-relations-08
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Calendaring and Scheduling Standards Simplification <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Nov 2021 16:55:10 -0000

On 10/26/21 14:49, Catherine Meadows via Datatracker wrote:
> Reviewer: Catherine Meadows
> Review result: Has Issues
>
> This draft describes increases the expressive and scope of relationships that
> can be defined in iCalendar.   It updates the already existing RELATED-TO by
> allowing UID and URI as values and introduces a GAP parameter to specify the
> length of time between two events.  It also introduces three new properties:
> CONCEPT (roughly, category), LINK (typed reference to external meta-data or
> related resources), and REFID(used to identify a key that identifies all
> components that use that REFID).  The syntax of the relationships is given and
> intended use cases are described.
>
> The introduction of greater expressiveness does not by itself introduce
> security considerations, but the introduction of references to external sources
> does, specifically for URIs, which are allowed as arguments of  the RELATED-TO,
> CONCEPT, and LINK properties. The authors of this document are aware of this,
> and refer the reader to [RFC3986] for more information.  I agree that the
> security considerations related to use of URIs proposed in this draft are
> covered by this RFC.
>
> I wonder though, if the document shouldn’t concern a similar warning about the
> data type REFERENCE.  This refers to an XML document or a portion of an XML
> document.  Since XML can also be used as an attack vector, a mention in the
> Security Considerations Section would seem appropriate.

I agree with the sentiment. I thought it would be easy to find a 
document with such a section - however the XML spec itself doesn't have 
a security section. There is at least section 20.6 in RFC4918 (WebDAV) 
which talks about external entities. Perhaps something like this:

When the value is a REFERENCE type the targeted data is an XML document 
or portion thereof. Consumers need to be aware of the security issues 
related to XML processing - in particular those related to XML entities. 
See RFC4918 - Section 20.6



>
>
>