Apache Commons Codec's Blake3 class documented the output of its doFinalize methods as depending on any previously finalized bytes, so that consecutiv...
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| Ubuntu:14.04:LTSlibcommons-codec-java |
すべての版→ 記載なし |
記載なし |
| Ubuntu:16.04:LTSlibcommons-codec-java |
すべての版→ 記載なし |
記載なし |
| Ubuntu:18.04:LTSlibcommons-codec-java |
すべての版→ 記載なし |
記載なし |
| Ubuntu:20.04:LTSlibcommons-codec-java |
すべての版→ 記載なし |
記載なし |
| Ubuntu:22.04:LTSlibcommons-codec-java |
すべての版→ 記載なし |
記載なし |
| Ubuntu:24.04:LTSlibcommons-codec-java |
すべての版→ 記載なし |
記載なし |
| Ubuntu:26.10libcommons-codec-java |
すべての版→ 記載なし |
記載なし |
| Ubuntu:26.04:LTSlibcommons-codec-java |
すべての版→ 記載なし |
記載なし |
この記録には修正版の版が載っていません。修正版の有無と版は、本文か参照URLのベンダーの勧告で確かめてください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Apache Commons Codec's Blake3 class documented the output of its doFinalize methods as depending on any previously finalized bytes, so that consecutive calls would return different output. In fact, doFinalize does not change the hash state: calling it again without supplying more input returns the same bytes. The key-derivation example in the class Javadoc, shipped since 1.16.0, derives two keys with two consecutive doFinalize calls. Code that follows it gets identical keys, so the separation between the derived keys is lost. The same applies to any application that calls doFinalize more than once on one instance and expects new output each time. This issue affects Apache Commons Codec from 1.16.0 before 1.23.0. Version 1.23.0 corrects the documentation, but the behavior of doFinalize is unchanged. Upgrading alone does not fix affected code. Users should check their applications for repeated doFinalize calls on the same Blake3 instance and derive multiple keys by requesting the combined length in one call and splitting the output, as the updated Javadoc shows.
出典: OSV.dev (Open Source Vulnerabilities) OSV
参照URL
- report ubuntu.com
- report cve.org
- report lists.apache.org
- report openwall.com