[IPsec] Re: draft-ietf-ipsecme-ikev2-downgrade-prevention-05 ietf last call Secdir review

Valery Smyslov <svan@elvis.ru> Thu, 18 June 2026 06:42 UTC

Return-Path: <svan@elvis.ru>
X-Original-To: ipsec@mail2.ietf.org
Delivered-To: ipsec@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id DD8FF103376BD; Wed, 17 Jun 2026 23:42:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1781764933; bh=IHMu/91EZSO99fIcXwiFAL0PA6Gec8tvlCJK3ZET5x4=; h=From:To:CC:References:In-Reply-To:Subject:Date; b=Oq4RkDDS8lnDE4v4S9TPts6/xOrcMlM5xNjxBumWInEMBzZx1Is8lOXTOpkvfcw8q HIihUpAcp57ws5IPlI0SVzhggMnOrB/H6Qe3H77tOPhd54A1FnkydQo8XmKbxLVaPG BVyjPIz6ViAhhqCoqN/jwna5ft9LwKlxnsDBsDDs=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=elvis.ru
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WJ3jijhvdz67; Wed, 17 Jun 2026 23:42:11 -0700 (PDT)
Received: from akmail.elvis.ru (akmail.elvis.ru [82.138.51.97]) by mail2.ietf.org (Postfix) with ESMTP id 398DA103374F4; Wed, 17 Jun 2026 23:40:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=elvis.ru; s=mail; h=Content-Type:MIME-Version:Message-ID:Date:Subject:In-Reply-To: References:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=BXmg4WYWt+iC/WYl8JmjwdZZPkTTn/4LQGjB2Uc7/94=; b=R++lEMizcmaBpZE6yxIYWtBfdO SmbtJr15d4OEX1WyulOyUWxha0EKYEcpzKboNnDsgtIDAHQ8WwXcGXsD85CSoWiwB0DOBKXugJ+MQ ag19+L2CTiJIbJ42MD76dd35eXr8bVzo9crmDCXuvzFTXrJDxQP2mrJYnwN/zGufkyw8=;
Received: from kmail2.elvis.ru ([93.188.44.210]) by akmail.elvis.ru with esmtp (Exim 4.92) (envelope-from <svan@elvis.ru>) id 1wa6QV-0006wu-EF; Thu, 18 Jun 2026 09:40:35 +0300
Received: from mail.office.elvis.ru ([10.111.1.29]) by kmail2.elvis.ru with esmtp (Exim 4.94.2) (envelope-from <svan@elvis.ru>) id 1wa6QV-000a8H-6d; Thu, 18 Jun 2026 09:40:35 +0300
Received: from MAIL16.office.elvis.ru (10.111.1.29) by MAIL16.office.elvis.ru (10.111.1.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Thu, 18 Jun 2026 09:40:35 +0300
Received: from BuildPC (10.111.10.33) by MAIL16.office.elvis.ru (10.111.1.29) with Microsoft SMTP Server id 15.1.1779.2 via Frontend Transport; Thu, 18 Jun 2026 09:40:35 +0300
From: Valery Smyslov <svan@elvis.ru>
To: 'Wang Guilin' <Wang.Guilin@huawei.com>, 'Yaroslav Rosomakho' <yaroslavros@gmail.com>, secdir@ietf.org
References: <178127025275.1143.3354974399358197795@dt-datatracker-f9b87776f-8pmmg> <02ac01dcfca5$c01d6eb0$40584c10$@elvis.ru>,<017501dcfe65$6f2c79d0$4d856d70$@elvis.ru> 44DE2A03-2633-4A5E-A02E-724E0332ABED
In-Reply-To: 44DE2A03-2633-4A5E-A02E-724E0332ABED
Date: Thu, 18 Jun 2026 09:40:35 +0300
Message-ID: <021c01dcfeed$5debf000$19c3d000$@elvis.ru>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_021D_01DCFF06.833DE2F0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQHc/KYnpbda6zfyzk2aDAjlWRJpYbZCS3UAgACnzCSAAOwM4A==
Content-Language: ru
X-CrossPremisesHeadersFilteredBySendConnector: MAIL16.office.elvis.ru
X-OrganizationHeadersPreserved: MAIL16.office.elvis.ru
X-Spam-Scanner: Rspamd work in kmail2.elvis.ru, WHITELIST
X-KLMS-Rule-ID: 1
X-KLMS-Message-Action: clean
X-KLMS-AntiSpam-Status: not scanned, disabled by settings
X-KLMS-AntiPhishing: Clean, bases: 2023/02/21 22:47:00
X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, bases: 2023/02/21 21:02:00 #20887462
X-KLMS-AntiVirus-Status: Clean, skipped
X-Spam-Scanner: Rspamd work in akmail.elvis.ru, WHITELIST
Message-ID-Hash: JI5EUL3QHGANNB54ILB4IYESCE6YCG3Y
X-Message-ID-Hash: JI5EUL3QHGANNB54ILB4IYESCE6YCG3Y
X-MailFrom: svan@elvis.ru
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ipsec.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: draft-ietf-ipsecme-ikev2-downgrade-prevention.all@ietf.org, ipsec@ietf.org, last-call@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [IPsec] Re: draft-ietf-ipsecme-ikev2-downgrade-prevention-05 ietf last call Secdir review
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/zCS3aHiLexwzgiyEqRhzVoi6STc>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Owner: <mailto:ipsec-owner@ietf.org>
List-Post: <mailto:ipsec@ietf.org>
List-Subscribe: <mailto:ipsec-join@ietf.org>
List-Unsubscribe: <mailto:ipsec-leave@ietf.org>

Hi Guilin,
 
Congrats to the output!
 
         Thanks!
 
Just read Section 8 (Security considerations) and found two typos.

1. "However, if these PSKs are the same and this fact and the PSK value are known to the attacker, ...":  " and this fact" is redundant. 
 
         The intention was to emphasize that the attacker should know both the value of the PSK
         and the fact, that both sides use the same value. Perhaps the current wording is not clear,
         how about:
 
“if these PSKs are the same and this fact as well as the PSK value are known to the attacker”
 
2. "Note, that mixing pre-shared keys into ...": "Note, that" should be "Note that", I think. 
 
         I spotted this myself after the draft had been already published. Anyway, thanks for thorough reading!
 
         Regards,
         Valery.
 
Guilin
 
发件人:Valery Smyslov <svan@elvis.ru <mailto:svan@elvis.ru> >
收件人:'Yaroslav Rosomakho' <yaroslavros@gmail.com <mailto:yaroslavros@gmail.com> >;secdir@ietf.org <secdir@ietf.org <mailto:secdir@ietf.org> >
抄 送:draft-ietf-ipsecme-ikev2-downgrade-prevention.all@ietf.org <draft-ietf-ipsecme-ikev2-downgrade-prevention.all@ietf.org <mailto:draft-ietf-ipsecme-ikev2-downgrade-prevention.all@ietf.org> >;ipsec@ietf.org <ipsec@ietf.org <mailto:ipsec@ietf.org> >;last-call@ietf.org <last-call@ietf.org <mailto:last-call@ietf.org> >
时 间:2026-06-17 22:29:50
主 题:[IPsec] Re: draft-ietf-ipsecme-ikev2-downgrade-prevention-05 ietf last call Secdir review
 
Hi Yaroslav,

after discussing with Chris, we decided to add some text into the Security considerations
section that addresses nuances concerned with PSK (and EAP) authentication.

Please find it in the new version of the draft:
https://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-downgrade-prevention/

The diff is:
https://author-tools.ietf.org/iddiff?url1=draft-ietf-ipsecme-ikev2-downgrade-prevention-05 <https://author-tools.ietf.org/iddiff?url1=draft-ietf-ipsecme-ikev2-downgrade-prevention-05&url2=draft-ietf-ipsecme-ikev2-downgrade-prevention-06&difftype=--html> &url2=draft-ietf-ipsecme-ikev2-downgrade-prevention-06&difftype=--html

We hope this text resolves your concerns.

Regards,
Chris & Valery.

> Hi Yaroslav,
> 
> thank you for your review. Please, see inline.
> 
> > Document: draft-ietf-ipsecme-ikev2-downgrade-prevention
> > Title: Downgrade Prevention for the Internet Key Exchange Protocol Version 2
> > (IKEv2) Reviewer: Yaroslav Rosomakho Review result: Has Issues
> >
> > I have reviewed this document as part of the security directorate's ongoing
> > effort to review all IETF documents being processed by the IESG. These comments
> > were written primarily for the benefit of the security area directors. Document
> > editors and WG chairs should treat these comments just like any other last call
> > comments.
> >
> > This specification describes an extension to IKEv2 that prevents particular
> > downgrade attacks.
> >
> > Minor issues:
> >
> > I found Section 7.2 incomplete. It requires the new mechanism to be used during
> > IKE session resumption if it was used during the previous IKE SA establishment,
> > but it does not specify the transcript to be signed or MAC'ed for the
> > IKE_SESSION_RESUME exchange.
> 
> RFC 5723 (IKE Session Resumption) does not define any new transcript for authentication,
> it is the same as specified in Section 2.15 of RFC 7296, but RealMessage1 and RealMessage1
> in this case will be the IKE_SESSION_RESUME messages and not the IKE_SA_INIT messages.
> 
> For this reason, there is no need to specify a separate transcript for resumption.
> the draft modifies the way data to be authenticated is constructed (as per Section 2.15)
> and this automatically applies to IKE session resumption too.
> 
> > I believe it would be beneficial to clarify the security properties when
> > symmetric shared secrets are used for authentication. The security argument
> > relies on at least one non-compromised authentication key being used. This is
> > clear for asymmetric authentication, where compromise of one peer's private key
> > does not imply compromise of the other peer's private key. However, when a
> > single shared symmetric secret is used for authentication, compromise of that
> > secret compromises both authentication directions.
> 
> In IKEv2 each peer can use its own PSK for authentication (to construct the AUTH payload).
> It's true, that in this case both peers have to know both PSKs, but _formally_ they
> can be different. Thus, I can imagine a situation when one of these PSKs is known to an attacker,
> while the other is not. In this case we have the situation similar to the asymmetric
> authentication, - the attacker can create the AUTH payload on behalf of one
> peer, but not on behalf of the other (provided peers check that the used PSK is associated
> with the peer identity). Sure, if these PSKs are the same and the attacker knows this fact
> and this PSK is compromised, then our defense does not work.
> 
> Do you think this should be clarified somehow in the draft?
> 
> > Nits:
> >
> > Some articles missing:
> 
> It happens (I'm sure these parts were written by me) :-)
> 
> > Section 7.1: If peers support extension defined in this document -> If peers
> > support the extension defined in this document
> >
> > Section 7.2: provides a client with session ticket -> provides a client with a
> > session ticket
> >
> > Section 8: one of extensions -> one of the extensions
> >
> > Section 9: defines new Notify Message Type -> defines a new Notify Message Type
> >
> > Minor grammar:
> >
> > Section 7.2: each of parameter -> each parameter
> >
> > Section 7.2: it is RECOMMENDED that the host do not use -> it is RECOMMENDED
> > that the host does not use
> >
> > Section 8: Note, that -> Note that
> 
> Thanks for these findings, a PR is created:
> https://github.com/smyslov/ikev2-downgrade-prevention/pull/45
> 
> Regards,
> Valery.


_______________________________________________
IPsec mailing list -- ipsec@ietf.org <mailto:ipsec@ietf.org> 
To unsubscribe send an email to ipsec-leave@ietf.org <mailto:ipsec-leave@ietf.org>