| タイトル | The Go ProjectのNetにおける安全でない等式による入力の不適切な検証に関する脆弱性 |
|---|---|
| 概要 | ToASCII関数とToUnicode関数は、ASCIIのみのラベルにデコードされるPunycodeエンコードされたラベルを誤って受け入れます。たとえば、ToUnicode("xn--example-.com")は誤って名前"example.com"を返し、エラーを返しません。この動作は、idnaパッケージを使用するプログラムで特権昇格を引き起こす可能性があります。たとえば、プログラムがASCIIホスト名に基づいて特権をチェックし、「example.com」を拒否しつつ「xn--example-.com」を許可する場合、その後ASCIIホスト名をUnicodeに変換すると、意図せずUnicode名の"example.com"へのアクセスを許可してしまいます。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月22日0:00 |
| 登録日 | 2026年6月3日17:05 |
| 最終更新日 | 2026年6月3日17:05 |
| CVSS3.0 : 緊急 | |
| スコア | 9.6 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| The Go Project |
| Net 0.55.0 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月03日] 掲載 |
2026年6月3日17:05 |
| 概要 | The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege escalation in programs using the idna package. For example, a program which performs privilege checks on the ASCII hostname may reject "example.com" but permit "xn--example-.com". If that program subsequently converts the ASCII hostname to Unicode, it will inadvertently permits access to the Unicode name "example.com". |
|---|---|
| 公表日 | 2026年5月23日1:16 |
| 登録日 | 2026年5月27日4:05 |
| 最終更新日 | 2026年5月30日0:26 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:golang:net:*:*:*:*:*:go:*:* | 0.55.0 | ||||