Skip to content

v4.1.2

Latest

Choose a tag to compare

@thomaspatzke thomaspatzke released this 04 Dec 23:50

What's Changed

Security

  • Loading a rule directory skips symlinked rule files, broken links and special files that point outside of the directory. A notice is written to stderr. Symlinks inside the directory and files passed one by one are still loaded (GHSA-33x9-cg5q-9886)
  • Control characters from rules, pipelines, plugin directory data and tracebacks are escaped in the remaining output paths: error messages of check, convert, analyze and update-cache, the traceback of convert --verbose and match --verbose, and sigma plugin list / show. Converted queries are escaped when they are written to a terminal; files and pipes still get the unchanged query (GHSA-gqg3-px59-w66h)

Behaviour changes

  • A rule directory that contains symlinks to files outside of it loads fewer rules than before. The run still exits with code 0
  • Queries written to a terminal are no longer byte-identical: control characters such as \r are shown escaped

Full Changelog: v4.1.1...v4.1.2