6.5medium
JSON Web Tokens not properly verified
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.09% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nimble-platform common | < 3b96cb0293d3443b870351945f41d7d55cb34b53 | CVE List |
| nimble-project common | Not specified | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Common es un paquete de módulos comunes al que se puede acceder por los servicios de NIMBLE. Common anterior al commit número 3b96cb0293d3443b870351945f41d7d55cb34b53 no verificaba apropiadamente la firma de los Tokens Web JSON. Esto permite que alguien falsifique un JWT válido. La posibilidad de falsificar JWTs puede conllevar a omisiones de autenticación. El commit número 3b96cb0293d3443b870351945f41d7d55cb34b53 contiene un parche para el problema. Como solución, se puede usar el método parseClaimsJws para verificar correctamente la firma de un JWT
References
| https://github.com/nimble-platform/common/security/advisories/GHSA-fjq8-896w-pv28 | third-party-advisory | |
| https://github.com/nimble-platform/common/commit/12197a755bd524559bf4e16475595a2c6fcd34db | patch, third-party-advisory | |
| https://github.com/nimble-platform/common/commit/3b96cb0293d3443b870351945f41d7d55cb34b53 | patch, third-party-advisory | |
| https://github.com/nimble-platform/common/commit/a59ad46733912a5580530e39cac0e6ebc83cc563 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32631 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-32631 changed 2026-06-17 | Public domain |