Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Iris-Go | Iris | <= 12.1.8 |
| Golang | Go | < 1.7.5 |
Related Weaknesses (CWE)
References
- https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169ExploitPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170ExploitPatchThird Party Advisory
- https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169ExploitPatchThird Party Advisory
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170ExploitPatchThird Party Advisory
FAQ
What is CVE-2021-23772?
CVE-2021-23772 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 enab...
How severe is CVE-2021-23772?
CVE-2021-23772 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23772?
Check the references section above for vendor advisories and patch information. Affected products include: Iris-Go Iris, Golang Go.