Go Vulnerability Database
GO-2020-0009
Integer overflow in github.com/square/go-jose
Details
On 32-bit platforms an attacker can manipulate a ciphertext encrypted with AES-CBC with HMAC such that they can control how large the input buffer is when computing the HMAC authentication tag. This can can allow a manipulated ciphertext to be verified as authentic, opening the door for padding oracle attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/square/go-jose | All versions before 0.0.0-20160903044734-789a4c4bd4c1 (fixed in 0.0.0-20160903044734-789a4c4bd4c1) |