{"cve":"CVE-2021-23772","nvd":{"published":"2021-12-24T12:15:07.697","modified":"2026-06-17T03:38:52.827","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-59"],"references":["https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08","https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169","https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170","https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08","https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169"],"products":["iris-go:iris"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-23772","score":0.01882,"percentile":0.7947,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jcxc-rh6w-wf49","url":"https://osv.dev/vulnerability/GHSA-jcxc-rh6w-wf49","summary":"Link Following in Iris","modified":"2025-01-14T09:12:23.966394Z","packages":[{"ecosystem":"Go","name":"github.com/kataras/iris/v12","purl":"pkg:golang/github.com/kataras/iris/v12","ranges":["<12.2.0-alpha8"],"fixed":["12.2.0-alpha8"]},{"ecosystem":"Go","name":"github.com/kataras/iris","purl":"pkg:golang/github.com/kataras/iris","ranges":["<=0.0.2"],"fixed":[]}]},{"id":"GO-2022-0272","url":"https://osv.dev/vulnerability/GO-2022-0272","summary":"Directory traversal in github.com/kataras/iris and github.com/kataras/iris/v12","modified":"2025-01-14T09:12:23.966394Z","packages":[{"ecosystem":"Go","name":"github.com/kataras/iris/v12","purl":"pkg:golang/github.com/kataras/iris/v12","ranges":["<12.2.0-alpha8"],"fixed":["12.2.0-alpha8"]},{"ecosystem":"Go","name":"github.com/kataras/iris","purl":"pkg:golang/github.com/kataras/iris","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}