HIGH7.5
GHSA-3fx4-7f69-5mmg
Integer Overflow in go-jose
Quick fix
GHSA-3fx4-7f69-5mmg — github.com/square/go-jose: upgrade to the fixed version with the command below.
go get github.com/square/go-jose@v0.0.0-20160903044734-789a4c4bd4c1Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/square/go-jose
Introduced in:
0Fixed in: 0.0.0-20160903044734-789a4c4bd4c1Fix
go get github.com/square/go-jose@v0.0.0-20160903044734-789a4c4bd4c1References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/square/go-jose"]}'