CVE-2021-23772 Arbitrary File Write
HighCVSS 8.8
EPSS 1.9%
- Published
- Updated
- Exploit status
- No public exploit known
Description
This affects all versions of package github.com/kataras/iris; all versions of package github.com/kataras/iris/v12. The unsafe handling of file names during upload using UploadFormFiles method may enable attackers to write to arbitrary locations outside the designated target folder.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kataras github.com/kataras/iris/v12(Go) | < 12.2.0-alpha8; <= 0.0.2; All versions | 12.2.0-alpha8 | Partially fixed |
| iris-go iris | <= 12.1.8; = 12.2.0-alpha; = 12.2.0-alpha2; = 12.2.0-alpha3 +2 more | after 12.1.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kataras github.com/kataras/iris/v12(Go) | < 12.2.0-alpha8 | 12.2.0-alpha8 |
| kataras github.com/kataras/iris/v12(Go) | <= 0.0.2 | No fix listed |
| kataras github.com/kataras/iris/v12(Go) | All versions | No fix listed |
| iris-go iris | <= 12.1.8 | No fix listed |
| iris-go iris | = 12.2.0-alpha | No fix listed |
| iris-go iris | = 12.2.0-alpha2 | No fix listed |
| iris-go iris | = 12.2.0-alpha3 | No fix listed |
| iris-go iris | = 12.2.0-alpha4 | No fix listed |
| iris-go iris | = 12.2.0-alpha5 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- pkg.go.dev
- github.com
- github.com product