CVE-2016-9122
HIGH 7.5CVSS 3.0Go JOSE Signature Validation Bypass
go-jose before 1.0.4 suffers from multiple signatures exploitation. The go-jose library supports messages with multiple signatures. However, when validating a signed message the API did not indicate which signature was valid, which could potentially lead to confusion. For example, users of the library might mistakenly read protected header values from an attached signature that was different from the one originally validated.
- Published
- 28 Mar 2017
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-284
- Also known as
- GHSA-77gc-fj98-665hGO-2022-0945
- Sources
- NVDJSONOSV GHSA-77gc-fj98-665hJSONOSV GO-2022-0945JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go-jose_project | go-josecpe:2.3:a:go-jose_project:go-jose:*:*:*:*:*:*:*:* |
<= 1.0.3 | |
| OSV | Go | gopkg.in/square/go-jose.v1 | < 1.1.0 | 1.1.0 |
References
- http://www.openwall.com/lists/oss-security/2016/11/03/1 · Mailing List, Patch, Third Party Advisory, WEB
- https://github.com/square/go-jose/commit/2c5656adca9909843c4ff50acf1d2cf8f32da7e6 · Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://hackerone.com/reports/169629 · Permissions Required, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-9122 · ADVISORY
- https://github.com/square/go-jose/pull/111 · WEB, FIX
- https://github.com/square/go-jose/commit/789a4c4bd4c118f7564954f441b29c153ccd6a96 · WEB
- https://github.com/square/go-jose/commit/c7581939a3656bb65e89d64da0a52364a33d2507 · WEB
- https://github.com/square/go-jose · PACKAGE
- https://www.openwall.com/lists/oss-security/2016/11/03/1 · WEB, ADVISORY
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 28 Mar 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Aug 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 May 2021)