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

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

December 24, 2021 (updated January 4, 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/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08
  • nvd.nist.gov/vuln/detail/CVE-2021-23772
  • snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169
  • snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170

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. Learn more about Dependency Scanning →

Affected versions

All versions up to 12.1.8, version 12.2.0

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/CVE-2021-23772.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:10 +0000.