KeygraphLabs · CVE MCP

CVE-2017-12972 · mitre

CVE-2017-12972

In Nimbus JOSE+JWT before 4.39, there is no integer-overflow check when converting length values from bytes to bits, which allows attackers to conduct HMAC bypass attacks by shifting Additional Authenticated Data (AAD) and ciphertext so that different plaintext is obtained for the same HMAC.

Published 2017-08-20, last changed 2026-06-17. Weakness: CWE-345.

CVSS
7.5
high, from NVD
EPSS
0.89%
percentile 60.6%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: com.nimbusds:nimbus-jose-jwt 4.39 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2017-08-20Published
2022-05-13Package advisory GHSA-2qp9-wg27-9pcv
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.89%

Affected packages

AdvisoryPackageFixed in
GHSA-2qp9-wg27-9pcvcom.nimbusds:nimbus-jose-jwt (Maven)4.39

Also known as: GHSA-2qp9-wg27-9pcv

Related

CVEPublishedCVSSSummary
CVE-2025-538642025-07-115.8same package: com.nimbusds:nimbus-jose-jwt (Maven)
CVE-2023-524282024-02-117.5same package: com.nimbusds:nimbus-jose-jwt (Maven)
CVE-2019-171952019-10-159.8same package: com.nimbusds:nimbus-jose-jwt (Maven)
CVE-2017-129742017-08-207.5same package: com.nimbusds:nimbus-jose-jwt (Maven)
CVE-2017-129732017-08-203.1same package: com.nimbusds:nimbus-jose-jwt (Maven)
CVE-2026-885922026-09-169.1same weakness (CWE-345) from the same CNA (mitre)
CVE-2025-593232026-08-128.4same weakness (CWE-345) from the same CNA (mitre)
CVE-2026-391552026-07-236.5same weakness (CWE-345) from the same CNA (mitre)

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-2017-12972, or call /api/v1/vulnerabilities/CVE-2017-12972. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org