CVE-2021-32631
JSON

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 packageVersionsReported by
nimble-platform common< 3b96cb0293d3443b870351945f41d7d55cb34b53CVE List
nimble-project commonNot specifiedNVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD4.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-32631 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-32631 changed 2026-06-17Public domain