CVE-2016-9123 Integer Overflow in go-jose

High 7.5 Published Updated

An integer overflow in CBC-HMAC processing on 32-bit systems allows attackers to bypass authentication for encrypted ciphertexts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-9123?

CVE-2016-9123 is a high-severity vulnerability in Go JOSE All versions before 1.0.5, published on 28 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-190

Which versions are affected by CVE-2016-9123?

3 open source packages ship an affected version, including github.com/square/go-jose. It affects 1 product.

PackageAffectedFixed in
github.com/square/go-jose GoAll versions0.0.0-20160903044734-789a4c4bd4c1
github.com/square/go-jose GoAll versions0.0.0-20160903044734-789a4c4bd4c1
github.com/square/go-jose GoAll versions0.0.0-20160903044734-789a4c4bd4c1

Products include Go-Jose Project Go-Jose.

How do I fix CVE-2016-9123?

Upgrade github.com/square/go-jose to 0.0.0-20160903044734-789a4c4bd4c1 or later.

Is CVE-2016-9123 being exploited?

There is no known exploitation of CVE-2016-9123 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2016-9123, GHSA-3fx4-7f69-5mmg, GO-2020-0009.

Is CVE-2016-9123 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free