Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32631

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32631
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:44 UTC · Revision 1

Source evidence

CVE-2021-32631

core-osv · Original source

Published 26 Jul 2021, 16:15 UTC

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.

osv:CVE-2021-32631
Complete source record
{
  "id": "96224b31112b425845045320e97ae5d948469f18771ea5ec8c4397be4d9866fb",
  "url": "https://osv.dev/vulnerability/CVE-2021-32631",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32631",
    "summary": "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.",
    "evidence": "osv:CVE-2021-32631",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32631",
      "aliases": [
        "CVE-2021-32631",
        "GHSA-fjq8-896w-pv28"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nimble-platform/common",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "3b96cb0293d3443b870351945f41d7d55cb34b53"
                },
                {
                  "fixed": "12197a755bd524559bf4e16475595a2c6fcd34db"
                },
                {
                  "fixed": "3b96cb0293d3443b870351945f41d7d55cb34b53"
                },
                {
                  "fixed": "a59ad46733912a5580530e39cac0e6ebc83cc563"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3b96cb0293d3443b870351945f41d7d55cb34b53"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "fixed": "12197a755bd524559bf4e16475595a2c6fcd34db"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3b96cb0293d3443b870351945f41d7d55cb34b53"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a59ad46733912a5580530e39cac0e6ebc83cc563"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32631.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-32631-2900f44e",
                "digest": {
                  "length": 396,
                  "function_hash": "310838607974414366628128138806000248407"
                },
                "source": "https://github.com/nimble-platform/common/commit/12197a755bd524559bf4e16475595a2c6fcd34db",
                "target": {
                  "file": "utility/src/main/java/eu/nimble/utility/validation/ValidationUtil.java",
                  "function": "validateToken"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-32631-3ad0e255",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "235124135618900721821859865106611182037",
                    "136825199409365147154115547441415563474",
                    "317450249712004594480602342460949720010",
                    "290723081589856113458344072952537927799"
                  ]
                },
                "source": "https://github.com/nimble-platform/common/commit/12197a755bd524559bf4e16475595a2c6fcd34db",
                "target": {
                  "file": "utility/src/main/java/eu/nimble/utility/validation/ValidationUtil.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-32631-8ec6940e",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "261689758518946358184199301731657874446",
                    "51287935790852715325270923500694635300",
                    "142182687106250766134692770905873560871",
                    "130550533393128918143679371846433166545"
                  ]
                },
                "source": "https://github.com/nimble-platform/common/commit/a59ad46733912a5580530e39cac0e6ebc83cc563",
                "target": {
                  "file": "utility/src/main/java/eu/nimble/utility/validation/ValidationUtil.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:24:32Z"
          }
        }
      ],
      "modified": "2026-10-20T14:24:32.887586343Z",
      "provider": "osv",
      "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"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32631",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388933,
  "published_at": "2021-07-26T16:15:07.637+00:00"
}