CVE-2021-32631

Source
https://cve.org/CVERecord?id=CVE-2021-32631
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32631.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32631
Related
  • GHSA-fjq8-896w-pv28
Published
2021-07-26T16:15:07.637Z
Modified
2026-04-11T17:25:56.377786Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/nimble-platform/common

Affected ranges

Type
GIT
Repo
https://github.com/nimble-platform/common
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/nimble-platform/common
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/nimble-platform/common
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/nimble-platform/common
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/nimble-platform/common
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/nimble-platform/common
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

vanir_signatures_modified
"2026-04-11T17:25:56Z"
vanir_signatures
[
    {
        "id": "CVE-2021-32631-2900f44e",
        "target": {
            "file": "utility/src/main/java/eu/nimble/utility/validation/ValidationUtil.java",
            "function": "validateToken"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "310838607974414366628128138806000248407",
            "length": 396.0
        },
        "signature_type": "Function",
        "source": "https://github.com/nimble-platform/common/commit/12197a755bd524559bf4e16475595a2c6fcd34db",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2021-32631-3ad0e255",
        "target": {
            "file": "utility/src/main/java/eu/nimble/utility/validation/ValidationUtil.java"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "235124135618900721821859865106611182037",
                "136825199409365147154115547441415563474",
                "317450249712004594480602342460949720010",
                "290723081589856113458344072952537927799"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/nimble-platform/common/commit/12197a755bd524559bf4e16475595a2c6fcd34db",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2021-32631-8ec6940e",
        "target": {
            "file": "utility/src/main/java/eu/nimble/utility/validation/ValidationUtil.java"
        },
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "261689758518946358184199301731657874446",
                "51287935790852715325270923500694635300",
                "142182687106250766134692770905873560871",
                "130550533393128918143679371846433166545"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "source": "https://github.com/nimble-platform/common/commit/a59ad46733912a5580530e39cac0e6ebc83cc563",
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32631.json"