From nobody Tue Sep 12 21:28:24 2023 X-Original-To: dev-commits-ports-all@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 4RlcBw3gK7z4t8dj; Tue, 12 Sep 2023 21:28:24 +0000 (UTC) (envelope-from git@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 4RlcBw3Ctbz3gSd; Tue, 12 Sep 2023 21:28:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694554104; 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; bh=tQ+T3P+Q7ai7UAwY7CvfekgZXDhlzSUvpOWo0bgIuEc=; b=eXDV4uq2q12KQdxDqxpvS1Na/KbBWFOzwaAeg1BiCweNYSpgHUqAFqNDgmKGv07mqTwQ62 J7/lNpCjiyg/f0WHuteXy/UBBj1D4pDinu4/R/MtUiWTjyMkb5ZjxHGJFuh6c1Z+wWLwEc kJvRs04IfheHGouoI/pfdnNWsAzaPxKeavhE2BNm3gJWeeR7+As/SjMurkM7giLoiIWYSK DnxBUf51aKBiVztQQ82au8MTIlcf+wgTg3ZT906hP/KzeLRbnKonCsPdMC0SM5E2Ka0nXb NCFn8wkWVkToU/QFBdjxWHrNaU4yYE0lfpaZk29VAzwH0cwvkcST0NQ4ODGGwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694554104; a=rsa-sha256; cv=none; b=JIPuURHlJTjz7erM6B7Ev+UukluRsgOm06P5A6vNhG1q3knjaE23veqhNqEbA1XEYaHWP3 ai42/M0iaEHJLGxdS71LFtqCournsp/BmeOS/3V2VqvCdRlAAEazgZ/WrPlV2KdDZ+t7bN j0QeebCgLpw/IDtB2gL11cQ2XxWfARDLv7VCo/8iFYcOReLQbRYmOeJGcspFg93booV5BF TVwjv+knkAb01fY+w/X3svVu7uHtmk8GIABbhL5SEn/uhr9JIfnKfeRl8wHQ7A6cMr/HOP ABqNG/qwduAaLk0fVa2ybVzSNKtXGmmdhF9eYuyOQaNrD/OqK6p2by2/1UH3RA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694554104; 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; bh=tQ+T3P+Q7ai7UAwY7CvfekgZXDhlzSUvpOWo0bgIuEc=; b=ldSGNltsQyXb1Ncg7byTphX9Tg6b3nyBD2VmhitpujJfXvF1hyOLhGb3OAhSL2Nyb7FQy8 lp2mjNrptNlNodGTnLIjCOi6eulefqSLsbBHSzO471MkQdkh9J0GUl6vlFTKtgZ5bzdjrE UFxAUvKtwMMZ9sXDEvzfdE2J+XUZSAhDpBGFuOwbdy6iuYpxvh8rAh0YbKsEJ/tfDjqD7q U56sXMB4UwUy7e+0oZ1li+fZ9/ssOQQkEr7HFP44iKjQ3Y2Lz1CL5/6fUhUnjIIS+XT7Cs xzijogtYpPn3ltwYkaIY/krDiFDU5YqXsL8Q30slqaUwm9VpLAOUROHzHuuBiQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4RlcBw2GTnznGd; Tue, 12 Sep 2023 21:28:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38CLSO1L039308; Tue, 12 Sep 2023 21:28:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38CLSOY4039305; Tue, 12 Sep 2023 21:28:24 GMT (envelope-from git) Date: Tue, 12 Sep 2023 21:28:24 GMT Message-Id: <202309122128.38CLSOY4039305@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Craig Leres Subject: git: 730455c58e93 - main - security/zeek: Update to 6.0.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: leres X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 730455c58e931465b3b8b9abf2e1edfb58863c29 Auto-Submitted: auto-generated The branch main has been updated by leres: URL: https://cgit.FreeBSD.org/ports/commit/?id=730455c58e931465b3b8b9abf2e1edfb58863c29 commit 730455c58e931465b3b8b9abf2e1edfb58863c29 Author: Craig Leres AuthorDate: 2023-09-12 21:27:54 +0000 Commit: Craig Leres CommitDate: 2023-09-12 21:27:54 +0000 security/zeek: Update to 6.0.0 https://github.com/zeek/zeek/releases/tag/v6.0.1 This release fixes the following potential DoS vulnerabilities: - File extraction limits were not correctly enforced for files containing large amounts of missing bytes. - Sessions are sometimes not cleaned up completely within Zeek during shutdown, potentially causing a crash when using the -B dpd flag for debug logging. - A specially-crafted HTTP packet can cause Zeek's filename extraction code to take a long time to process the data. - A specially-crafted series of FTP packets made up of a CWD request followed by a large amount of ERPT requests may cause Zeek to spend a long time logging the commands. - A specially-crafted VLAN packet can cause Zeek to overflow memory and potentially crash. This release fixes the following bugs: - Fixed a base64 decoding issue with the authorization field of HTTP request headers that was sometimes causing Zeek to output error messages. - Ensure that Zeek builds use the internal version of Spicy instead of external installations, unless specifically configured for that mode. - Support was added for switch fields when exporting Spicy types to Zeek. - A number of fixes were added to protect against potential unbounded state growth with the SMB and DCE-RPC analyzers. SMB close requests will properly tear down an related DCE-RPC analyzers. - Fixed a regression in the UDP and TCP analyzers that was causing more data than necessary to be forwarded to the next analyzer in the chain. - A connection's value is now updated in-place when its directionality is flipped due to Zeek's heuristics (for example, SYN/SYN-ACK reversal or protocol specific approaches). - Fixed undefined symbols being reported from Spicy when building some of the binary packages for Zeek. - Loading policy/frameworks/notice/community-id.zeek now also automatically community ID logging. - Spicy no longer registers an extra port for every port registered in a plugin's .evt file. - Timeouts in DNS resolution no longer cause uncontrolled memory growth. - Fix check to skip DNS hostname lookups for notices that are not delivered via email in policy/frameworks/notice/extend-email/hostnames. Reported by: Tim Wojtulewicz Security: 8eefa87f-31f1-496d-bf8e-2b465b6e4e8a --- security/zeek/Makefile | 2 +- security/zeek/distinfo | 6 +++--- security/zeek/pkg-plist | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/security/zeek/Makefile b/security/zeek/Makefile index af4bf8e71088..ada76177bba3 100644 --- a/security/zeek/Makefile +++ b/security/zeek/Makefile @@ -1,5 +1,5 @@ PORTNAME= zeek -DISTVERSION= 6.0.0 +DISTVERSION= 6.0.1 CATEGORIES= security MASTER_SITES= https://download.zeek.org/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} diff --git a/security/zeek/distinfo b/security/zeek/distinfo index 8f96203cdbfc..760fbcbfb021 100644 --- a/security/zeek/distinfo +++ b/security/zeek/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692569614 -SHA256 (zeek-6.0.0.tar.gz) = cc37587389ec96a2437c48851a6ef8300b19a39d9e6a1c9066570c25b070d0e2 -SIZE (zeek-6.0.0.tar.gz) = 60086607 +TIMESTAMP = 1694552456 +SHA256 (zeek-6.0.1.tar.gz) = cfc329a170439195d7070ec5387d95cdda7eb6b86ac85ec707b9ed0e9d576a29 +SIZE (zeek-6.0.1.tar.gz) = 60152791 diff --git a/security/zeek/pkg-plist b/security/zeek/pkg-plist index 62c8a3eb223c..94a224c990f7 100644 --- a/security/zeek/pkg-plist +++ b/security/zeek/pkg-plist @@ -1233,7 +1233,6 @@ lib/libparaglob.a %%SPICY%%lib/libspicy-rt-debug.a %%SPICY%%lib/libspicy-rt.a %%SPICY%%lib/libspicy.so -@dir lib/zeek/plugins lib/zeek/python/SubnetTree.py lib/zeek/python/_SubnetTree.so lib/zeek/python/broker/__init__.py @@ -1284,7 +1283,6 @@ lib/zeek/python/zeekctl/plugins/lb_pf_ring.py lib/zeek/python/zeekctl/plugins/ps.py lib/zeek/python/zeekctl/plugins/zeek_port_warning.py lib/zeek/python/zeekctl/plugins/zzz_af_packet.py -@dir lib/zeek/spicy %%ZEEKCTL%%man/man1/trace-summary.1.gz man/man1/zeek-cut.1.gz man/man8/zeek.8.gz @@ -2102,4 +2100,6 @@ share/btest/scripts/spicy/diff-sort %%ZEEKCTL%%@dir spool/brokerstore %%ZEEKCTL%%@dir spool %%ZEEKCTL%%@dir logs +%%SPICY%%@dir lib/zeek/spicy +@dir lib/zeek/plugins %%ZEEKCTL%%@postexec su -fm %%ZEEKUSER%% -c '%D/bin/zeekctl install; rm -f %D/spool/debug.log'