Description (CNA)
`JweDirectDecryptorBlock.Decrypt` read a 64-bit plaintext length from the `_thales_aad` protected-header field and used it without any validation. A truncated field panics `binary.BigEndian.Uint64`, an oversized value drives an unbounded allocation, and a value larger than the decrypted block panics with a slice-bounds error.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Eclipse Foundation / Eclipse KeyPont - GOSE | affected 0.9.0 through 0.13.0-rc1 |
| Eclipse Foundation / Eclipse KeyPont - GOSE | affected 0 before 1.0.0-rc1 |
CWE
CWE-129