Skip to content

Commit

Permalink
security/zeek: Update to 6.0.0
Browse files Browse the repository at this point in the history
    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
  • Loading branch information
leres committed Sep 12, 2023
1 parent c729310 commit 730455c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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}
Expand Down
6 changes: 3 additions & 3 deletions 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
4 changes: 2 additions & 2 deletions security/zeek/pkg-plist
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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'

0 comments on commit 730455c

Please sign in to comment.