Vulnerability Details : 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.
Products affected by CVE-2021-23772
- cpe:2.3:a:iris-go:iris:*:*:*:*:*:go:*:*
- cpe:2.3:a:iris-go:iris:12.2.0:alpha:*:*:*:go:*:*
- cpe:2.3:a:iris-go:iris:12.2.0:alpha2:*:*:*:go:*:*
- cpe:2.3:a:iris-go:iris:12.2.0:alpha3:*:*:*:go:*:*
- cpe:2.3:a:iris-go:iris:12.2.0:alpha4:*:*:*:go:*:*
- cpe:2.3:a:iris-go:iris:12.2.0:alpha5:*:*:*:go:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23772
0.33%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 72 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23772
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.6
|
5.9
|
Snyk |
CWE ids for CVE-2021-23772
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-23772
-
https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08
security fix · kataras/iris@e213dba · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169
Arbitrary File Write in github.com/kataras/iris | CVE-2021-23772 | SnykExploit;Patch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170
Arbitrary File Write in github.com/kataras/iris/v12 | CVE-2021-23772 | SnykExploit;Patch;Third Party Advisory
Jump to