From nobody Sun May 22 09:00:42 2022 X-Original-To: pf@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 D3FC21B4586D for ; Sun, 22 May 2022 09:00:42 +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 4L5ZDp30BBz3CLg for ; Sun, 22 May 2022 09:00:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 2D2CD183FD for ; Sun, 22 May 2022 09:00:42 +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 24M90g81005737 for ; Sun, 22 May 2022 09:00:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24M90gY6005736 for pf@FreeBSD.org; Sun, 22 May 2022 09:00:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyNjQxMjhdIE91dC1vZi1ib3VuZHMgcmVhZCBpbiBwZmN0?= =?UTF-8?B?bCg4KSB3aGVuIHJ1biB3aXRoIC1hIOKAnOKAnSAoYXMgaW4g4oCccGVyaW9k?= =?UTF-8?B?aWMgZGFpbHnigJ0pLg==?= Date: Sun, 22 May 2022 09:00:42 +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 Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653210042; 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=JXT+nvKN8ESayl+K9DJ24z/GWBjJR+L26Nb8iB07aW8=; b=n3sQOiEvjyC/WwM8J49zOy3UmhZxl8OTLbXmxy82Ovvqj/pAneomadH6WcL7nl0HHtRApx Cs8gqPkw1pGd4l4YiFf/tHq9pJrqcAGaX/yju9DcgNU+vr/Dn56sy09xG01CCVUzNRwVcx Y5l6BLp1FtNgDlLyHcYnDbZWMzkv/jEuTy6OX8J9LhUsbpL9n+gOCEvF9IYKGlXbYHLhu0 rjCzwHutfa549nlC7EmswGMcb4g0gXlhSUg+Wo/3r3Z0EAiN/FywkI8lvF2QIqGit6FeK/ X9AtNZ56bqpURqWiIjYIGBhdMzYl2BFLXaBIO2bYsfviyw8bI+ErDESC9mGPvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653210042; a=rsa-sha256; cv=none; b=cO8YMDkyTu/OVlmDRke5a3+1vSxq2bQuAQ01NuRlZDMt6B6Z33W32/O+zfuawXTngKiq+v D/D51JOwXD+4JGWDT/AgQJhMtEdDBEQYyUnQ8Lv/HDgLnpbjTqToxvVWHz1tsa19JEa//O mHpb7CyxTIFZmgU3E1P3SnbRHgOQGhoLD/cm3E3zyRS+Lby5K7CTgRCK37Bmz248Xkpu/r TaW9V2bBkbR25hHpuZSos+SE77Gcvr2QsR8aOKBiSX3jYFK+hdLuI8opkUPyjI3Jvk1oKY e70+pp64o7/7KTlDdgtOZuYJdFSb3AHRu1uhWWg4qPNHVsDFwKscV7qRGkrJzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264128 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D298663855015c1eba7ccf5b88168f4336= 53eb609 commit 298663855015c1eba7ccf5b88168f433653eb609 Author: Jessica Clarke AuthorDate: 2022-05-22 08:31:42 +0000 Commit: Kristof Provost CommitDate: 2022-05-22 08:31:42 +0000 pfctl: fix out-of-bounds access If pfctl is called with "pfctl -a ''" we read outside of the anchoropt buffer. Check that the buffer is sufficiently long to avoid that. Maintain the existing (and desired, because it's used as such in /etc/periodic/security/520.pfdenied) behaviour of treating "-a ''" as a request for the root anchor (or no anchor specified). PR: 264128 Reviewed by: kp sbin/pfctl/pfctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=