Re: [TLS] Protocol version for inappropriate_fallback alerts

Florian Weimer <fweimer@redhat.com> Tue, 11 November 2014 17:16 UTC

Return-Path: <fweimer@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB6831A00A9 for <tls@ietfa.amsl.com>; Tue, 11 Nov 2014 09:16:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.496
X-Spam-Level:
X-Spam-Status: No, score=-7.496 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.594, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 y9YJes0kb6UG for <tls@ietfa.amsl.com>; Tue, 11 Nov 2014 09:16:32 -0800 (PST)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.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 42FF01A00A6 for <tls@ietf.org>; Tue, 11 Nov 2014 09:13:33 -0800 (PST)
Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sABHDVNt008765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 11 Nov 2014 12:13:31 -0500
Received: from oldenburg.str.redhat.com (oldenburg.str.redhat.com [10.33.200.60]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sABHDURZ002263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 11 Nov 2014 12:13:31 -0500
Message-ID: <546243B9.20309@redhat.com>
Date: Tue, 11 Nov 2014 18:13:29 +0100
From: Florian Weimer <fweimer@redhat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Bodo Moeller <bmoeller@acm.org>, "tls@ietf.org" <tls@ietf.org>
References: <20141110200755.3975.81921.idtracker@ietfa.amsl.com> <546212B6.9020304@redhat.com> <CADMpkcJyQDNaNs+qLivFtsyea6iS5H5HmMUNt3zVKGE2Px=zjA@mail.gmail.com>
In-Reply-To: <CADMpkcJyQDNaNs+qLivFtsyea6iS5H5HmMUNt3zVKGE2Px=zjA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/S8bXYhNMg1hASDAr6fp-5lecBbM
Subject: Re: [TLS] Protocol version for inappropriate_fallback alerts
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Nov 2014 17:16:34 -0000

On 11/11/2014 04:52 PM, Bodo Moeller wrote:
> Florian Weimer <fweimer@redhat.com <mailto:fweimer@redhat.com>>:
>
>     Section 3 still does not mention which version to put into the
>     inappropriate_fallback alert message.
>
>
> Good point; it can't hurt to be completely explicit about this.
>
> Proposed new wording:
>
>     o If TLS_FALLBACK_SCSV appears in ClientHello.cipher_suites and the
>     highest protocol version supported by the server is higher than the
>     version indicated in ClientHello.client_version, the server MUST
>     respond with a fatal inappropriate_fallback alert *(unless it
>     responds with a fatal protocol_version alert because the version
>     indicated in ClientHello.client_version is unsupported). The record
>     layer version number MUST be set to ClientHello.cipher_suites for
>     this alert (as it would for the Server Hello message if the server
>     was continuing the handshake)*.

The final ClientHello.cipher_suites should be ClientHello.client_version.

-- 
Florian Weimer / Red Hat Product Security