{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-43786",
        "STATE": "PUBLIC",
        "TITLE": "API token verification can be bypassed"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "NodeBB",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">= 1.15.0, < 1.18.5"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "NodeBB"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nodebb is an open source Node.js based forum software. In affected versions incorrect logic present in the token verification step unintentionally allowed master token access to the API. The vulnerability has been patch as of v1.18.5. Users are advised to upgrade as soon as possible."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-287: Improper Authentication"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5",
                "refsource": "MISC",
                "url": "https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5"
            },
            {
                "name": "https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw",
                "refsource": "CONFIRM",
                "url": "https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw"
            },
            {
                "name": "https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500",
                "refsource": "MISC",
                "url": "https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500"
            },
            {
                "refsource": "MISC",
                "name": "https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/",
                "url": "https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-hf2m-j98r-4fqw",
        "discovery": "UNKNOWN"
    }
}