Advisory

GO-2020-0009

Also known as: CVE-2016-9123, GHSA-3fx4-7f69-5mmg

Summary

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.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/square/go-jose

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20160903044734-789a4c4bd4c1 (semver)

Fixed versions

0.0.0-20160903044734-789a4c4bd4c1

Fix

  • Fixed version 0.0.0-20160903044734-789a4c4bd4c1
    go get github.com/square/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences