kataras/iris · Security
Link Following in Iris
- GHSA ID
- GHSA-jcxc-rh6w-wf49
- CVE ID
- CVE-2021-23772
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-59 · Improper Link Resolution Before File Access ('Link Following')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23772 ↗
- https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08 ↗
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169 ↗
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170 ↗
- https://pkg.go.dev/vuln/GO-2022-0272 ↗
- https://github.com/advisories/GHSA-jcxc-rh6w-wf49 ↗