Merge remote-tracking branch 'security/topic/awelzel/topic/awelzel/208-http-mime-nested-v2'

* security/topic/awelzel/topic/awelzel/208-http-mime-nested-v2:
  MIME: Cap nested MIME analysis depth to 100
This commit is contained in:
Tim Wojtulewicz 2024-01-21 19:31:02 -07:00
commit 13fde341d2
15 changed files with 91 additions and 2 deletions

View file

@ -0,0 +1,7 @@
# @TEST-DOC: HTTP POST request with 100 nestesd message/rfc822 entities, causing an analysis depth of 200 or so, Zeek stops at 100 and produces a weird.
#
# @TEST-EXEC: zeek -b -r $TRACES/http/deeply-nested-mime.pcap %INPUT
# @TEST-EXEC: btest-diff http.log
# @TEST-EXEC: btest-diff weird.log
@load base/protocols/http