From nobody Mon Nov 21 14:16:31 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NG8Zl2mQ1z4j8Py for ; Mon, 21 Nov 2022 14:16:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NG8Zl0bvQz4Dj9 for ; Mon, 21 Nov 2022 14:16:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669040191; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6ErX3YHUlXHvkPYr19fklP93lz+Zw4vetgBwUkFWgOo=; b=tKpG5S9P7SmIEUX22v9/+LHqWf6woZeKlMIs9L/qav4Z4pu8YI0ZPbSYHwTfUp1WFTPBqg GTWo9JqUkk+wfkq6e12iRQGpKusOmlo1e9sYDB3TEgMIuZzy25c72X0LzCbO9mgGJZBcjV GOcsRwjiSmwOwKcmHforB8ranYMhlsetgPsdOroiXa3pXWxbh8h2GRm30hRawB8TRkt8FP O95myWMoAVHM2sxoiLRSQ4XDRpSI+2pAIgnuJ6CUcnefgm/5tTZOL67faW9y2dZFXluCj4 dHr2KSopDBcLuDW7rzYQG9+fSKUzAhMR0gnKGHWTIiWc9O+2dYpXzrzCiCYcSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669040191; a=rsa-sha256; cv=none; b=qxOsY8p2erRgpolyIVJcTav/DdId2rCeDL3FQpgvVqWKwMY0PlvApUKUOey7JhC+mmUMdC vuhpYfYXCOoIuVNCXE56dNgMM5uOFUkqO8SrkKP7kv6mtvaF62Xc3VPT7+9MtikEYulo+o vHyXLehfBioXi+LdSkkf28ADWyyfYp8DODYLnRbd42zm8w9Fng1/6QN4foGe5Eiv6JGhVq CNrZQ0gZT2URiz93GAhPDFQ0iFAU5g9Pxgum/CDTj7hKhD9AepNMK1kUppxIiqqd0kH6B6 NhiY9ZEkgwYR4aug19T8xvdilUH08OXp5AQB1plDxK4JYVnx5KvUarMsF3EGXw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NG8Zk6pHxz164T for ; Mon, 21 Nov 2022 14:16:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2ALEGUgx055046 for ; Mon, 21 Nov 2022 14:16:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ALEGUew055045 for bugs@FreeBSD.org; Mon, 21 Nov 2022 14:16:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 267884] kadmind can read beyond the end of an incoming message's buffer Date: Mon, 21 Nov 2022 14:16:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267884 Cy Schubert changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |cy@FreeBSD.org --- Comment #1 from Cy Schubert --- It appears that upstream Heimdal 7.8.0 suffers the same bug. The simplest solution would be to strlcpy() the string to a temporary bufer= in match_appl_version(), do the sscanf(), and discard the temporary buffer. I think this should also be reported to our friends at Heimdal. --=20 You are receiving this mail because: You are the assignee for the bug.=