-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix paths outside of the rootfs could be inadvertently produced (#53)
* Fix paths outside of the rootfs could be inadvertently produced until v0.2.4 it was possible for certain rootfs and path combinations (in particular, where a malicious Unix-style `/-` separated unsafe path was used with a Windows-style rootfs path) to result in generated paths that were outside of the provided rootfs. **Patches** c121231e1276e11049547bee5ce68d5a2cfe2d9b is the patch fixing this issue. v0.2.4 contains the fix. * go mod tidy --------- Co-authored-by: Andrew Wilkins <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters