CVE-2021-23772
Directory traversal in github.com/kataras/iris and github.com/kataras/iris/v12
7.5
HIGH
CVSS 3.1
EPSS 0.88%
描述
The Context.UploadFormFiles function is vulnerable to directory traversal attacks, and can be made to write to arbitrary locations outside the destination directory. This vulnerability only occurs when built with Go versions prior to 1.17. Go 1.17 and later strip directory paths from filenames returned by "mime/multipart".Part.FileName, which avoids this issue.
如何修補 CVE-2021-23772
要修補 CVE-2021-23772,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —未列出修補版本
- —升級至 12.2.0-alpha8 或更新版本
- —升級至 12.2.0-alpha8 或更新版本
CVE-2021-23772 正在被利用嗎?
低 — EPSS 為 0.9%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, <= 0.0.2
- from 0
- from 0, < 12.2.0-alpha8
- from 0, < 12.2.0-alpha8
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |