Software Updates

Announcing ModSecurity version 3.0.5

Written by | Jul 9, 2021 3:51:00 AM

We are happy to announce ModSecurity version 3.0.5!

It is a pleasure to announce the release of ModSecurity version 3.0.5 (libModSecurity). This version contains several improvements in different areas, including new features, cleanups, overall performance improvements, and fixes. A remarkable feature for version 3.0.5 is the limitation on the number of arguments to process; this is especially useful while inspecting JSON with a high number of key/values. Read more: https://github.com/SpiderLabs/ModSecurity/pull/2234

New features

  • Use explicit path for cross-compile environments.
    [Issue #2485 - @dtoubelis]
  • Fix: FILES variable does not use multipart part name for key
    [Issue #2377 - @martinhsv]
  • Regression: Mark the test as failed in case of segfault.
    [@zimmerle]
  • Add support to test framework for audit log content verification and add regression tests for issues #2000#2196

  • Support configurable limit on number of arguments processed
    [Issue #2234 - @jleproust@martinhsv]
  • Multipart Content-Dispostion should allow field: filename*=
    [@martinhsv]
  • Add support for new operator rxGlobal
    [@martinhsv]

Bug fixes

  • Fix: Only delete Multipart tmp files after rules have run
    [Issue #2427 - @martinhsv]
  • rx: exit after full match (remove /g emulation); ensure capture

  • groups occuring after unused groups still populate TX vars
    [Issue #2336 - @martinhsv]
  • Correct CHANGES file entry for #2234

  • Fix rule-update-target for non-regex
    [Issue #2251 - @martinhsv]

Security impacting issues

  • Handle URI received with uri-fragment
    [@martinhsv]

The complete list of changes is available on our changelogs: https://github.com/SpiderLabs/ModSecurity/releases/tag/v3.0.5

The source and binaries (and the respective hashes/signatures) are available at: https://github.com/SpiderLabs/ModSecurity/releases/tag/v3.0.5

The list of open issues is available on GitHub: https://github.com/SpiderLabs/ModSecurity/labels/3.x

Stay tuned. We are going to release a follow-up blog post detailing the significant bits of this release. Thanks to everybody who helped in this process: reporting issues, making comments and suggestions, sending patches, and participating in the community ;)