github.com/kataras/iris/v12
Affected
- introduced
0, fixed12.2.0-alpha8(semver)
Fixed versions
12.2.0-alpha8
Fix
- Fixed version
12.2.0-alpha8go get github.com/kataras/iris/[email protected]
Advisory
Also known as: CVE-2021-23772, GHSA-jcxc-rh6w-wf49
Directory traversal in github.com/kataras/iris and github.com/kataras/iris/v12
The Context.UploadFormFiles function is vulnerable to directory traversal attacks, and can be made to write to arbitrary locations outside the destination directory.
This vulnerability only occurs when built with Go versions prior to 1.17. Go 1.17 and later strip directory paths from filenames returned by "mime/multipart".Part.FileName, which avoids this issue.
Not rated by the source.
0, fixed 12.2.0-alpha8 (semver)12.2.0-alpha8
12.2.0-alpha8go get github.com/kataras/iris/[email protected]0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0