GHSA-hf2m-j98r-4fqw

Suggest an improvement
Source
https://github.com/advisories/GHSA-hf2m-j98r-4fqw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-hf2m-j98r-4fqw/GHSA-hf2m-j98r-4fqw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hf2m-j98r-4fqw
Aliases
Related
Published
2021-11-30T22:21:05Z
Modified
2023-11-01T04:56:44.491367Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
API token verification can be bypassed in NodeBB
Details

Impact

Incorrect logic present in the token verification step unintentionally allowed master token access to the API.

Patches

The vulnerability has been patch as of v1.18.5.

Workarounds

Cherry-pick commit hash 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 to receive this patch in lieu of a full upgrade.

For more information

If you have any questions or comments about this advisory: * Email us at security@nodebb.org

Database specific
{
    "cwe_ids": [
        "CWE-287"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-11-30T14:35:05Z",
    "severity": "CRITICAL",
    "nvd_published_at": "2021-11-29T20:15:00Z"
}
References

Affected packages

npm / nodebb

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.15.0
Fixed
1.18.5