Quick answers
- Is CVE-2016-9123 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2016-9123 being exploited in the wild.
- How severe is CVE-2016-9123?
- High severity, with a CVSS score of 7.5, published 23 June 2021.
- Which products and versions are affected?
- github.com/square/go-jose (Go) < 0.0.0-20160903044734-789a4c4bd4c1, SEMVER:introduced=0,fixed=0.0.0-20160903044734-789a4c4bd4c1.
- Is there a fix for CVE-2016-9123?
- Yes. github.com/square/go-jose (Go): upgrade to 0.0.0-20160903044734-789a4c4bd4c1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2016-9123 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2016-9123?
- Check whether you run github.com/square/go-jose (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- github.com/square/go-jose (Go): upgrade to 0.0.0-20160903044734-789a4c4bd4c1 or later
go get github.com/square/go-jose@v0.0.0-20160903044734-789a4c4bd4c1
Technical details
An integer overflow vulnerability (CWE-190) exists in the go-jose library when processing CBC-HMAC encrypted ciphertexts on 32-bit architectures. The flaw occurs during the decryption process, where a calculation error can lead to an authentication bypass. A remote, unauthenticated attacker can exploit this by providing specially crafted ciphertexts, allowing them to bypass integrity checks. This issue was addressed in version 1.0.5 by improving integer handling during tag verification.
Affected products
- Square go-jose < 1.0.5
Identifiers
- CVE-2016-9123
- GHSA-3fx4-7f69-5mmg
- GO-2020-0009
Timeline
- 2016-09-03: patched: Fix committed to repository
- 2016-11-03: disclosed: Public disclosure on oss-security list
- 2017-03-28: advisory: NVD published CVE-2016-9123
- 2021-06-23: advisory: GitHub Advisory published