Repository navigation
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,analyzeandupdate-cache, the traceback ofconvert --verboseandmatch --verbose, andsigma 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
\rare shown escaped
Full Changelog: v4.1.1...v4.1.2