mirror of
https://github.com/danielmiessler/fabric.git
synced 2026-09-10 07:36:44 -04:00
chore: incoming 2123 changelog entry
This commit is contained in:
parent
54347b5cf5
commit
e36a231f3f
3
cmd/generate_changelog/incoming/2123.txt
Normal file
3
cmd/generate_changelog/incoming/2123.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
### PR [#2123](https://github.com/danielmiessler/Fabric/pull/2123) by [OdinKral](https://github.com/OdinKral): fix: block path traversal in pattern name lookup
|
||||
|
||||
- **Security Fix:** Blocked path traversal attacks in pattern name lookup (closes #2094) — pattern names containing `..` could previously escape the patterns directory and read arbitrary files via `filepath.Join`; a guard has been added at the top of `getFromDB`, an i18n key `pattern_invalid_name` has been added to all 11 locale files, and test cases now cover all common traversal variants.
|
||||
Loading…
Reference in a new issue