| Summary | The filepath package does not recognize paths with a \??\ prefix as special. On Windows, a path beginning with \??\ is a Root Local Device path equivalent to a path beginning with \\?\. Paths with a \??\ prefix may be used to access arbitrary locations on the system. For example, the path \??\c:\x is equivalent to the more common path c:\x. Before fix, Clean could convert a rooted path such as \a\..\??\b into the root local device path \??\b. Clean will now convert this to .\??\b. Similarly, Join(\, ??, b) could convert a seemingly innocent sequence of path elements into the root local device path \??\b. Join will now convert this to \.\??\b. In addition, with fix, IsAbs now correctly reports paths beginning with \??\ as absolute, and VolumeName correctly reports the \??\ prefix as a volume name. UPDATE: Go 1.20.11 and Go 1.21.4 inadvertently changed the definition of the volume name in Windows paths starting with \?, resulting in filepath.Clean(\?\c:) returning \?\c: rather than \?\c:\ (among other effects). The previous behavior has been restored. |
|---|---|
| Publication Date | Nov. 10, 2023, 2:15 a.m. |
| Registration Date | Nov. 10, 2023, 10 a.m. |
| Last Update | Nov. 21, 2024, 5:26 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.20.11 | ||||
| cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | 1.21.0-0 | 1.21.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 | Nov. 9, 2023, midnight |
| Registration Date | Jan. 9, 2024, 2:18 p.m. |
| Last Update | Jan. 9, 2024, 2:18 p.m. |
| The Go Project |
| Go 1.20.11 未満 |
| Go 1.21.0-0 以上 1.21.4 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2024年01月09日] 掲載 | Jan. 9, 2024, 2:17 p.m. |