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.

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.018 (77.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 78th percentile — 77.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-23772: held from 0.018 to 0.018.

EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: 0.000

Affected products

  • Golang Go
  • Iris-Go Iris — versions 12.2.0
  • Github.com/kataras/iris — versions 0
  • 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.