{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-22206",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-01-08T04:59:27.373Z",
        "datePublished": "2024-01-12T20:07:40.402Z",
        "dateUpdated": "2024-08-01T22:35:34.930Z"
    },
    "containers": {
        "cna": {
            "title": "@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-284",
                            "lang": "en",
                            "description": "CWE-284: Improper Access Control",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-287",
                            "lang": "en",
                            "description": "CWE-287: Improper Authentication",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-639",
                            "lang": "en",
                            "description": "CWE-639: Authorization Bypass Through User-Controlled Key",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 9.1,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg"
                },
                {
                    "name": "https://clerk.com/changelog/2024-01-12",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://clerk.com/changelog/2024-01-12"
                },
                {
                    "name": "https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3"
                }
            ],
            "affected": [
                {
                    "vendor": "clerk",
                    "product": "javascript",
                    "versions": [
                        {
                            "version": ">= 4.7.0, < 4.29.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-01-12T20:07:40.402Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Clerk helps developers build user management. Unauthorized access or privilege escalation due to a logic flaw in auth() in the App Router or getAuth() in the Pages Router. This vulnerability was patched in version 4.29.3.\n"
                }
            ],
            "source": {
                "advisory": "GHSA-q6w5-jg5q-47vg",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T22:35:34.930Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg"
                    },
                    {
                        "name": "https://clerk.com/changelog/2024-01-12",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://clerk.com/changelog/2024-01-12"
                    },
                    {
                        "name": "https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3"
                    }
                ]
            }
        ]
    }
}