Re: [secdir] SECDIR review of draft-ietf-jcardcal-jcard-05

Stephen Kent <kent@bbn.com> Mon, 22 July 2013 20:43 UTC

Return-Path: <kent@bbn.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8500111E815B for <secdir@ietfa.amsl.com>; Mon, 22 Jul 2013 13:43:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.598
X-Spam-Level:
X-Spam-Status: No, score=-106.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OudDilWlg6Qy for <secdir@ietfa.amsl.com>; Mon, 22 Jul 2013 13:42:45 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by ietfa.amsl.com (Postfix) with ESMTP id 70E0C11E8163 for <secdir@ietf.org>; Mon, 22 Jul 2013 13:42:39 -0700 (PDT)
Received: from dommiel.bbn.com ([192.1.122.15]:48270 helo=comsec.home) by smtp.bbn.com with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <kent@bbn.com>) id 1V1Mvz-000BdV-75; Mon, 22 Jul 2013 16:42:19 -0400
Message-ID: <51ED992C.9040908@bbn.com>
Date: Mon, 22 Jul 2013 16:42:20 -0400
From: Stephen Kent <kent@bbn.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: Philipp Kewisch <kewisch@gmail.com>
References: <51E6FB7C.2060106@bbn.com> <51EC4C29.70908@gmail.com>
In-Reply-To: <51EC4C29.70908@gmail.com>
Content-Type: multipart/alternative; boundary="------------090008030502070103070902"
Cc: bert.greevenbosch@huawei.com, Barry Leiba <barryleiba@computer.org>, Pete Resnick <presnick@qti.qualcomm.com>, stpeter@stpeter.im, secdir <secdir@ietf.org>
Subject: Re: [secdir] SECDIR review of draft-ietf-jcardcal-jcard-05
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/secdir>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jul 2013 20:43:03 -0000

Pjillip,

I like the tone of the new text, but it does need some edits to be
more readable:
> NEW:
>    This specification defines how vCard data can be "translated" between
>    two different data formats - the original text format and JSON - with
>    a one-to-one mapping to ensure all the semantic data in one format
>    (properties, parameters and values) are preserved in the other.  It
>    does not change the semantics (meaning) of the underlying data itself,
>    or impose or remove any security considerations that apply to the
>    underlying data.
>
>    The use of JSON as a format does have its own inherent security risks
>    as discussed in Section 7 of [RFC4627].  Even though JSON is
>    considered a safe subset of JavaScript, it should be kept in mind
>    that a flaw in the parser processing JSON could still introduce a 
> vulnerability
>    which doesn't arise with conventional vCard data.
>
>    With this in mind, any parser used with jCard data should be 
> security-aware.  For example, the use of
>    JavaScript's eval() function is allowed only after applying the regular
>    expression in Section 6 of [RFC4627].  A native parser with full
>    awareness of the JSON format is preferred.
>
>    In addition, it is expected that this new format will result in vCard
>    data being more widely disseminated (e.g., used in web
>    applications rather than just dedicated "contact managers").
>
>    In all cases, application developers MUST conform to the semantics
>    of the vCard data as defined by [RFC6350] and associated extensions,
>    and all of the security considerations described in Section 9 of
>    [RFC6350], or any associated extensions, are applicable.
>
>