You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix directory traversal vulnerability under Windows in Static middleware when default Echo filesytem is used (effectively middleware.StaticConfig{Filesystem: nil})
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,14 @@
4
4
5
5
**Security**
6
6
7
-
* Fix directory traversal vulnerability under Windows in Static middleware when default Echo filesytem is used (effectively `middleware.StaticConfig{Filesystem: nil}`).
7
+
* Fix directory traversal vulnerability under Windows in Static middleware when default Echo filesystem is used. Reported by @shblue21.
8
+
9
+
This applies to cases when:
10
+
- Windows is used as OS
11
+
-`middleware.StaticConfig.Filesystem` is `nil` (default)
12
+
-`echo.Filesystem` is has not been set explicitly (default)
13
+
14
+
Exposure is restricted to the active process working directory and its subfolders.
0 commit comments