新着 / 2026年11月27日 / CVE-2024-1394
Go言語のRSA処理におけるメモリリーク脆弱性
掲載
何が問題か
Go言語のRSA暗号化・復号処理(github.com/golang-fips/openssl/openssl/rsa.go)において、メモリリークの欠陥が確認されています。エラー時に解放されるべきpkeyとctxが、名前付き戻り値の仕組みにより遅延関数内でnilとなり、解放されない状態になっています。CWEはCWE-401(メモリ解放漏れ)に分類されています。
悪用されると
攻撃者が制御できる入力を用いることで、リソース枯渇が発生するおそれがあります。CVSS v3.1ではスコア7.5(HIGH)、影響はAvailability(可用性)のみとされています。
取るべき対応
影響を受ける製品や修正版の情報は公表されていません。利用しているGo言語やgolang-fips/opensslの修正状況を、ベンダーや提供元の公式情報で確認してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v3.1) | 重要 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 1.9%(全体の上位 19.8%) |
| 問題の種類 | CWE-401 |
| CVE公開日 | 2024-03-21 |
出典
- NVD: CVE-2024-1394
- https://access.redhat.com/errata/RHSA-2024:1462
- https://access.redhat.com/errata/RHSA-2024:1468
- https://access.redhat.com/errata/RHSA-2024:1472
- https://access.redhat.com/errata/RHSA-2024:1501
- https://access.redhat.com/errata/RHSA-2024:1502
- https://access.redhat.com/errata/RHSA-2024:1561
- https://access.redhat.com/errata/RHSA-2024:1563
- https://access.redhat.com/errata/RHSA-2024:1566
公式の説明(英語の原文)
A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs. The memory leak happens in github.com/golang-fips/openssl/openssl/rsa.go#L113. The objects leaked are pkey and ctx. That function uses named return parameters to free pkey and ctx if there is an error initializing the context or setting the different properties. All return statements related to error cases follow the "return nil, nil, fail(...)" pattern, meaning that pkey and ctx will be nil inside the deferred function that should free them.