[secdir] Re: draft-ietf-pim-gaap-18 ietf last call Secdir review

Mike McBride <mmcbride7@gmail.com> Fri, 14 August 2026 23:05 UTC

Return-Path: <mmcbride7@gmail.com>
X-Original-To: secdir@mail2.ietf.org
Delivered-To: secdir@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id B65BD12A1EC34 for <secdir@mail2.ietf.org>; Fri, 14 Aug 2026 16:05:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786748710; bh=+S8Q0Z935wf8IdLZyevI5y6HyirUZe0jvFRiFSvm5Z0=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=fOj7asgbJWCqurint3ki4e5x/sYN4A/dNGcEuhxoxmFGnBbBoIwsKsMub4oOA9xoe NJPpq/hufnzK3jnD5DVu0tJie05aBYHPxtluB4nwQKc82AbMl4gT41z3tU3Sa6tjeu IIiz54d+NNHCAS3oKwxJ0JL8VPugbuu1HVmuN8vw=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.838
X-Spam-Level:
X-Spam-Status: No, score=-1.838 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_HTML_ATTACH=0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 8-54WKVr9JYu for <secdir@mail2.ietf.org>; Fri, 14 Aug 2026 16:05:08 -0700 (PDT)
Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 8ABC312A1EBA7 for <secdir@ietf.org>; Fri, 14 Aug 2026 16:05:07 -0700 (PDT)
Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-6a173ad7cf4so2242501a12.3 for <secdir@ietf.org>; Fri, 14 Aug 2026 16:05:07 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1786748706; cv=none; d=google.com; s=arc-20260327; b=Mrft4M4CydAKu0vn559PMk//H+qzF1DV4yCQrJwAT/PInDNg626CTvZrL5g4/U2Xq4 ulVNqGLkYNkDA4EVxj3r6v2EupbSdWcgewxOnLfmcXM3rrZG8N1zdlnMCZXiuP4Utq6X QWljwyIbrXIrBotM4aKGs1HSEwKIixFm+gcNtS0q93CISi36Ck0LOjNA6VunO0wU4PbY dP4wVkrt2XKdcsEA+dRT+vwRVXdJHZ2mjgBHjXRzhmC6FyR4EK522rnZD8VNNFpTrVo8 erixPlRkhORAGY6lam1OLBPZZCCf0QqMKel5M+fMt0KWaiC7kIZNl7YYa/q9nvfC0hb1 lEDQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=+S8Q0Z935wf8IdLZyevI5y6HyirUZe0jvFRiFSvm5Z0=; fh=HbJKHgJB7XE73KDZT0al8OGEMWqfdYZ2UhHYKsJwuag=; b=G3QypkJzs83SLfXpj6hbYYilS67wQnIM/vne2ZyiXKi8kTJ0/4TyRUzRY2FWtAJYBd UnZim0qLEbUKb4q+eod6dYqI1PIAV06vk/UA/yUZCAhKvIZYTJH2/SKZqNb1CDr9BWBq kYXZZ4G63f42PV9IFr++sWNcDeiiZoyoZbOwPl+HhLMO7hFx9FX6nc6LVpi6xIG8aayx xN27X7JuDvlaaKzfg8ssf38WruxIXJVMtDZ/bLrwRmroniSjojUwcR42SpK0o69tgpe7 dMwdVsbkzUs4thz25SCHHmpnAxCQFWxtdGd4RvipjPsUsQKWHVICu3koUMae7nkwO1WK XPRQ==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786748706; x=1787353506; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=+S8Q0Z935wf8IdLZyevI5y6HyirUZe0jvFRiFSvm5Z0=; b=V4RDW9565Ogzv3gvnhvYHgvVcQOo6N2JEMLK/7HLI3eZ/42JmBvr6FGuDIxnkyqk/v MqkOIJrEfqhiva9Pr26WqG8z7215/tyquytbGGV4cwmmGy9Rl9CiOj3rIqzirQYBoulI ICUTazfx94E9MUS557syCa0KvmWH8ZQDKSfHyeatitaSv7vzwAspW/LPzJRa45Zh+Wlj rL3BPvdXDjx8VH1UKVfi1Ld3go1NZdgUAPhKOipPis7gMpZyqk7QnUK4VdEKsYIDzwvy g8Xhf74T/+9RyWJemuCcSXdX/au4Yv4UFzxeCqmohQFQGit/uohPfoCosQn7ty1JCGgZ 3iEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786748706; x=1787353506; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=+S8Q0Z935wf8IdLZyevI5y6HyirUZe0jvFRiFSvm5Z0=; b=HusUQeLWZq091K6iNPkllDyKxA1bvoGnerEDv4G9VAyG6lEl1SfatBsddOgMiT6k5+ mW3/0VNYsPoqiFdkbtUaqqCZK97jq+Bp67JE/zXmDZ9YQZoum9+tJ/szOMESclU1sFVl zjzEsPcV+rz1hbrmsWiwO1APni7Qy785I53OCmBSDZjHPSEX8TA/GvGubYg1OiTamdvQ Sp0QxUrlrYhQAelxNDORFeBXwyKr31baPyx6hGerL5HrPjuKMUGUTB3fzIR/4L1ORq4j XDXf57y/NgX9ysIeVrGO0/obKrEIet6GeB5BpqfpVZdIKG2xKiPOOqblUljBn7pCawWi B+Fg==
X-Forwarded-Encrypted: i=1; AHgh+Rog1EoGqaGaj9yRjDZ3Ad8e7rIAiKbdfrhsQ/6kX0TNEkYryORiILweEI6qXzSc3tHEi19CZNs=@ietf.org
X-Gm-Message-State: AOJu0YzeR+gBJrFXCDGPE34Zh5xvraLeIlACvf/sO/ZsDVwOkB9KtRw9 Nm9acOGoNhFPGypqTFVwWrt/usxRhQwoEBN1mwIyuti+RJrj0HT612qkuommirlcHOtVACaCqis 6Ezd7famDyFTRSYQjbJ4/kMfHMeV5yZA=
X-Gm-Gg: AR+sD13G2xg0kI+x+J5lF6vtjzOMDtoXsdO5QQxaf6VLZJ8uNWJkeAxcY6bA1vAUoQE HgbFihTw2zJwlDzEL8lpQvU/I2EQpdHcJOH4ps7LDT8WZWv/uOpuyW7MatfeFkm/rwozEm9tNE0 tLOKZBF6LVgWw5kOFQ6aY7m1QpRxdlamiFLhswKPCdue9nyIUr70w7HLAPkijuXRgxdc7cRwq+K ezOsFVZW9T2l+XPoWryTfgPvnGrPqLPj2hqKjFCDXNzpz852FTHORE9X1g9R0qa9yv43h+X6X/t dwqbXSFKRD6h2r9dvMGFYFo4aX7Z/756MXH2+PJjWnyoP60utBqGlU5bH8AeQTtmjCex50e5Hlp D
X-Received: by 2002:a05:6402:24a4:b0:6a3:7483:150e with SMTP id 4fb4d7f45d1cf-6a38a912869mr4175911a12.1.1786748704998; Fri, 14 Aug 2026 16:05:04 -0700 (PDT)
MIME-Version: 1.0
References: <178587221734.584.16465348933486025478@dt-datatracker-54dc84885d-8d5gh> <289C0F58-BB3C-498C-AA1D-5BA49BEE9F29@gmail.com> <PH0PR14MB44562897DA1348609532639683D22@PH0PR14MB4456.namprd14.prod.outlook.com>
In-Reply-To: <PH0PR14MB44562897DA1348609532639683D22@PH0PR14MB4456.namprd14.prod.outlook.com>
From: Mike McBride <mmcbride7@gmail.com>
Date: Fri, 14 Aug 2026 16:04:53 -0700
X-Gm-Features: AcwNN1W9wC08Jv_p8Djocj4fja57jYDOCjYEovFN82dbS2DZPsVlDIs8g4ic7-o
Message-ID: <CAL3FGfyfd6AgZ5ftnG-GP9VeOnVd+Gwfbb9Z=Ct5xiBG1c8a+Q@mail.gmail.com>
To: Tim Hollebeek <tim.hollebeek@digicert.com>
Content-Type: multipart/mixed; boundary="000000000000ddacbe065909d9f3"
Message-ID-Hash: 6WPRHMP6QEL4DOPY4HIYHK5UZFBV35LW
X-Message-ID-Hash: 6WPRHMP6QEL4DOPY4HIYHK5UZFBV35LW
X-MailFrom: mmcbride7@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-secdir.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Dino Farinacci <farinacci@gmail.com>, "secdir@ietf.org" <secdir@ietf.org>, "draft-ietf-pim-gaap.all@ietf.org" <draft-ietf-pim-gaap.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "pim@ietf.org" <pim@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [secdir] Re: draft-ietf-pim-gaap-18 ietf last call Secdir review
List-Id: Security Area Directorate <secdir.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/BuQD0sf1UnyBLfLelenM1MeQ27s>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Owner: <mailto:secdir-owner@ietf.org>
List-Post: <mailto:secdir@ietf.org>
List-Subscribe: <mailto:secdir-join@ietf.org>
List-Unsubscribe: <mailto:secdir-leave@ietf.org>

Hi Tim,

Thank you for the review. I *think* I captured all of your concerns and
suggestions in the just submitted -20. I utilized Dino's suggestions. I'm
attaching the diff here. Please give it another review and see if I missed
anything.

thanks,
mike



On Thu, Aug 6, 2026 at 9:37 AM Tim Hollebeek <tim.hollebeek@digicert.com>
wrote:

> Yes, and I think that is the shape of most of the comments. If you're on a
> "safe" network, which can be accomplished in a number of ways, including
> virtually by using pre-shared keys, encryption and authentication, this can
> be made to work. But the security properties are fragile, especially with
> respect to active attacks. The Security Considerations just need to capture
> those details accurately so that readers can make informed decisions about
> how to deploy it safely.
>
> -Tim
> ------------------------------
> *From:* Dino Farinacci <farinacci@gmail.com>
> *Sent:* Wednesday, August 5, 2026 5:16 PM
> *To:* Tim Hollebeek <tim.hollebeek@digicert.com>
> *Cc:* secdir@ietf.org <secdir@ietf.org>; draft-ietf-pim-gaap.all@ietf.org
> <draft-ietf-pim-gaap.all@ietf.org>; last-call@ietf.org <last-call@ietf.org>;
> pim@ietf.org <pim@ietf.org>
> *Subject:* Re: draft-ietf-pim-gaap-18 ietf last call Secdir review
>
> Thanks for the impressive comments Tim. See inline my responses. I have
> not discussed this with my co-authors.
>
> > Persistent denial of allocation. The four candidate addresses for a name
> are
> > deterministic and computable by anyone who knows the name. Nothing
> requires a
> > receiver to verify that a Claim's name field hashes to the address it
> claims —
> > Section 8's guidance to ignore such Claims is a non-normative lowercase
> > "should." An on-network attacker can therefore contest all four
> candidates with
> > spoofed Claims bearing fabricated early timestamps; the victim yields
> each time
> > and gaap.allocate() returns None with no retry. Even against an
> implementation
> > that does enforce the Section 8 check, the cost rises only to a targeted
> > preimage over the masked bits (~2^22 for the IPv4 /10, ~2^32 for the
> IPv6 /32)
> > — not a barrier. Security Considerations should state that the base mode
> offers
> > no protection against an on-network attacker and is suitable only within
> a
> > trusted domain.
> >
> > Timestamp arbitration is exploitable in the past direction. "Earliest
> wins,"
> > but only far-future timestamps are sanity-checked. An attacker
> fabricates an
> > old timestamp and always wins, indistinguishably from a genuine old
> claim (so
> > the "invalid timestamp → bad-actor list" mitigation can't fire — it only
> > triggers when an even-earlier claim exists, i.e. when the attacker
> loses).
> > Separately, the draft notes an unset post-boot clock reads far in the
> past —
> > such a node legitimately wins every collision, a robustness bug with no
> > attacker present. A far-past plausibility rule symmetric with the
> far-future
> > one seems warranted.
> >
> > Encryption gaps. ChaCha20 alone is malleable (the Marker is a redundancy
> check,
> > not integrity); consider AEAD as MUST-when-encrypting rather than
> SHOULD. Nonce
> > management is unspecified, which is dangerous with one shared key across
> many
> > senders. The cleartext header isn't bound as AEAD associated data.
> Sections 4
> > and 8 contradict each other on whether the Marker stays cleartext
> (Section 4)
> > or is non-0xAAAAAAAA on the wire and only appears after decryption
> (Section 8).
> > And nothing requires a keyed receiver to reject plaintext Claims,
> permitting
> > trivial downgrade.
> >
> > The bad-actor list can be turned into the attack. Since sources are
> spoofable,
> > an attacker can spoof misbehaving Claims from a victim's address to get
> the
> > victim blacklisted, and can inflate the list itself (state exhaustion on
> a
> > stateless protocol). Entries should be bounded and advisory.
>
> Do you believe (with the exception of your encrytion gap comment), if an
> out-of-band shared-key was used and encryption was reliable, problems 1, 2,
> and 4 would go away?
>
> So only authorized users would operate the protocol (and app), even though
> an authorized user could go rogue.
>
> Could we state out-of-band key exchange and satisify your comments?
>
> > Minor
> >
> > The fallback candidates are built by string concatenation (H("foo+1")
> etc.), so
> > a legitimate primary name "foo+1" aliases foo's second candidate —
> reachable by
> > ordinary API allocation, and also by accident. Hash-level domain
> separation of
> > the attempt number would remove this; it does not, however, mitigate
> item 1.
>
> Well the group members joined to "foo" would Claim a collision for "foo+1"
> and the "foo+1" members would move to group "foo+1+1".
>
> > Nits
> >
> > Section 6 title: "Detail Protocol Operation" → "Detailed".
> > Section 5.1 code: mismatched parens in format(...) and a missing colon
> on the
> > callback def.
>
> We will fix.
>
> Thanks a lot,
> Dino
>
>
>
>