Vulnerability in Golang Go

CVE-2021-23772

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.

EPSS: 0.018 (76.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Golang Go
  • Iris-go Iris — versions 12.2.0
  • N/a Github.com/kataras/iris — versions 0
  • N/a Github.com/kataras/iris/v12 — versions 0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-23772?
CVE-2021-23772 is a high-severity vulnerability in Golang Go, classified under Improper Link Resolution Before File Access. CVSS score: 7.5/10. Published 2021-12-24.
How severe is CVE-2021-23772?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2021-23772 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.