CVE-2016-9122 · hackerone
CVE-2016-9122
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 2017-03-28, last changed 2026-06-17. Weakness: CWE-284.
How to fix
Upgrade to a fixed version: gopkg.in/square/go-jose.v1 1.1.0 (Go). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in square/go-jose by 2c5656adca, pull request #111, 789a4c4bd4. Functions changed by the fix: Decrypt, DecryptMulti, Verify, VerifyMulti. Regression tests: crypter_test.go, signing_test.go, cipher/cbc_hmac_test.go. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2017-03-28 | Published |
| 2021-05-18 | Package advisory GHSA-77gc-fj98-665h |
| 2022-08-22 | Package advisory GO-2022-0945 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.97% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-77gc-fj98-665h | gopkg.in/square/go-jose.v1 (Go) | 1.1.0 |
| GO-2022-0945 | gopkg.in/square/go-jose.v1 (Go) | 1.1.0 |
Also known as: GHSA-77gc-fj98-665h, GO-2022-0945
Credited: Quan Nguyen from Google's Information Security Engineering Team (other)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2016-9121 | 2017-03-28 | 9.1 | same package: gopkg.in/square/go-jose.v1 (Go) |
| CVE-2026-133203 | 2026-11-26 | 5.3 | same weakness (CWE-284) from the same CNA (hackerone) |
| CVE-2026-133202 | 2026-11-26 | 5.4 | same weakness (CWE-284) from the same CNA (hackerone) |
| CVE-2026-106075 | 2026-11-20 | 4.3 | same weakness (CWE-284) from the same CNA (hackerone) |
| CVE-2026-82986 | 2026-10-27 | 4.6 | same weakness (CWE-284) from the same CNA (hackerone) |
| CVE-2026-82984 | 2026-10-27 | 4.3 | same weakness (CWE-284) from the same CNA (hackerone) |
| CVE-2026-77173 | 2026-10-27 | 4.3 | same weakness (CWE-284) from the same CNA (hackerone) |
| CVE-2026-77171 | 2026-10-27 | 3.5 | same weakness (CWE-284) from the same CNA (hackerone) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-9122, or call /api/v1/vulnerabilities/CVE-2016-9122. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.