go-jose before 1.0.5 suffers from a CBC-HMAC integer overflow on 32-bit architectures. An integer overflow could lead to authentication bypass for CBC-HMAC encrypted ciphertexts on 32-bit architectures.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/square/go-jose/commit/789a4c4bd4c118f7564954f441b29c153ccd6a96 | issue tracking third party advisory patch |
http://www.openwall.com/lists/oss-security/2016/11/03/1 | mailing list third party advisory patch |
https://hackerone.com/reports/165170 | permissions required |