Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kataras/iris/v12
  4. ›
  5. CVE-2021-23772

CVE-2021-23772: Improper Link Resolution Before File Access ('Link Following')

January 6, 2022

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.

References

  • github.com/advisories/GHSA-jcxc-rh6w-wf49
  • github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08
  • nvd.nist.gov/vuln/detail/CVE-2021-23772

Code Behaviors & Features

Detect and mitigate CVE-2021-23772 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 12.2.0-alpha5

Solution

Unfortunately, there is no solution available yet.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

go/github.com/kataras/iris/v12/CVE-2021-23772.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:51 +0000.