Description (CNA)
`AesGcmCryptor.Open` passed a caller-supplied nonce straight to `cipher.AEAD.Open` without checking its length. The Go standard library **panics** rather than returning an error when a GCM nonce is not exactly `NonceSize()` bytes, so a JWE carrying a wrong-sized IV crashes the decrypting goroutine.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Eclipse Foundation / Eclipse KeyPont - GOSE | affected 0.7.3 through 0.13.0-rc1 |
| Eclipse Foundation / Eclipse KeyPont - GOSE | affected 0 before 1.0.0-rc4 |
CWE
CWE-248