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

@ -2780,6 +2780,16 @@ export {
} # end export
module MIME;
export {
## Stop analysis of nested multipart MIME entities if this depth is
## reached. Setting this value to 0 removes the limit.
const max_depth = 100 &redef;
} # end export
module MOUNT3;
export {