sadrobot

← Vissza a havi listához · Apache Software Foundation →

CVE-2026-119078 Apache Software Foundation · Apache Commons Codec

9.1 Kritikus

MI-összefoglaló

Az Apache Commons Codec 1.16.0–1.23.0 előtti verzióiban a Blake3 doFinalize dokumentációja hibás: az ismételt hívások azonos kimenetet adnak, így a Javadoc példáját követő kulcsderiválás azonos kulcsokat állít elő, megszüntetve a kulcsok szétválasztását. A 1.23.0 csak a dokumentációt javítja, a frissítés önmagában nem elég: ellenőrizze az ismételt doFinalize hívásokat, és több kulcsot egyetlen hívással, a kimenet felosztásával képezzen. Kritikus (9.1).

Hivatalos leírás

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.

Megjelent
2026-11-09 20:18 UTC
Módosítva
2026-11-12 18:17 UTC
CVSS
9.1 Kritikus CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.44% (percentilis 30)
ENISA EUVD
EUVD-2026-120400
CISA SSVC
Kihasználás: none · Automatizálható: yes · Technikai hatás: total
CWE
CWE-684

CVSS-vektor

Támadási útvonal
hálózatról
Bonyolultság
alacsony
Szükséges jogosultság
nem kell
Felhasználói közreműködés
nem kell
Hatókör
változatlan
Bizalmasság
magas
Sértetlenség
magas
Rendelkezésre állás
nincs

Hivatkozások