CVE-2021-23772Iris-go Iris
High 8.8
Follow: this CVE · Iris-go · Iris-go Iris We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- Yes
- Published
- Dec 24, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Iris.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/kataras/iris |
≤ 0.0.2 |
no fixed version | — |
| Go | github.com/kataras/iris |
all |
no fixed version | — |
| Go | github.com/kataras/iris/v12 |
< 12.2.0-alpha8 |
12.2.0-alpha8 |
go get github.com/kataras/iris/v12@v12.2.0-alpha8 |
| Go | github.com/kataras/iris/v12 |
< 12.2.0-alpha8 |
12.2.0-alpha8 |
go get github.com/kataras/iris/v12@v12.2.0-alpha8 |
Per OSV / GitHub Advisories (GHSA-jcxc-rh6w-wf49, GO-2022-0272). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| iris-go | iris | ≤ 12.1.8 |
| iris-go | iris | 12.2.0 |
| iris-go | iris | 12.2.0 |
| iris-go | iris | 12.2.0 |
| iris-go | iris | 12.2.0 |
| iris-go | iris | 12.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory