Live threats

All CVEs / Iris-go

CVE-2021-23772Iris-go Iris

High 8.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Iris.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
iris-goiris≤ 12.1.8
iris-goiris12.2.0
iris-goiris12.2.0
iris-goiris12.2.0
iris-goiris12.2.0
iris-goiris12.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