CVE-2021-23772
CVSS V2 Medium 6.8
CVSS V3 High 8.8
Description
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.
Overview
- CVE ID
- CVE-2021-23772
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2021-12-24T12:15:07
- Last Modified Date
- 2022-01-04T20:11:12
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:a:iris-go:iris:*:*:*:*:*:go:*:* | 1 | OR | 12.1.8 | |
cpe:2.3:a:iris-go:iris:12.2.0:alpha:*:*:*:go:*:* | 1 | OR | ||
cpe:2.3:a:iris-go:iris:12.2.0:alpha2:*:*:*:go:*:* | 1 | OR | ||
cpe:2.3:a:iris-go:iris:12.2.0:alpha3:*:*:*:go:*:* | 1 | OR | ||
cpe:2.3:a:iris-go:iris:12.2.0:alpha4:*:*:*:go:*:* | 1 | OR | ||
cpe:2.3:a:iris-go:iris:12.2.0:alpha5:*:*:*:go:*:* | 1 | OR | ||
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | 0 | OR | 1.7.5 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRIS-2325169 | Exploit Patch Third Party Advisory |
https://github.com/kataras/iris/commit/e213dba0d32ff66653e0ef124bc5088817264b08 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMKATARASIRISV12-2325170 | Exploit Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-23772 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23772 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:38:59 | Added to TrackCVE | |||
2022-12-06 04:49:16 | 2021-12-24T12:15Z | 2021-12-24T12:15:07 | CVE Published Date | updated |
2022-12-06 04:49:16 | 2022-01-04T20:11:12 | CVE Modified Date | updated | |
2022-12-06 04:49:16 | Analyzed | Vulnerability Status | updated |