| Summary | On Windows, restricted files can be accessed via os.DirFS and http.Dir. The os.DirFS function and http.Dir type provide access to a tree of files rooted at a given directory. These functions permit access to Windows device files under that root. For example, os.DirFS("C:/tmp").Open("COM1") opens the COM1 device. Both os.DirFS and http.Dir only provide read-only filesystem access. In addition, on Windows, an os.DirFS for the directory (the root of the current drive) can permit a maliciously crafted path to escape from the drive and access any path on the system. With fix applied, the behavior of os.DirFS("") has changed. Previously, an empty root was treated equivalently to "/", so os.DirFS("").Open("tmp") would open the path "/tmp". This now returns an error. |
|---|---|
| Publication Date | Dec. 8, 2022, 2:15 a.m. |
| Registration Date | Dec. 8, 2022, 10 a.m. |
| Last Update | Nov. 21, 2024, 4:23 p.m. |
| CVSS3.1 : HIGH | |
| スコア | 7.5 |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | なし |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | 1.18.9 | ||||
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | 1.19.0 | 1.19.4 | |||
| execution environment | |||||
| 1 | cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | ||||
| Title | The Go Project の Go におけるパストラバーサルの脆弱性 |
|---|---|
| Summary | The Go Project の Go には、パストラバーサルの脆弱性が存在します。 |
| Possible impacts | 情報を取得される可能性があります。 |
| Solution | ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | Dec. 7, 2022, midnight |
| Registration Date | Nov. 27, 2023, 12:05 p.m. |
| Last Update | Nov. 27, 2023, 12:05 p.m. |
| The Go Project |
| Go 1.18.9 未満 |
| Go 1.19.0 以上 1.19.4 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2023年11月27日] 掲載 |
Nov. 27, 2023, 12:05 p.m. |