{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-58367",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-07-18T12:40:52.916Z",
        "datePublished": "2026-07-18T13:10:07.604Z",
        "dateUpdated": "2026-07-28T01:47:53.305Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-07-28T01:47:53.305Z"
            },
            "datePublic": "2024-10-08T00:00:00.000Z",
            "title": "SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "SurrealDB versions before 2.0.4 fail to properly enforce field permissions during SELECT, UPDATE, and DELETE operations, allowing authorized users to access unauthorized field values through various query techniques. Attackers can exploit SELECT VALUE operations, field aliasing, function arguments, WHERE clause filtering, RETURN BEFORE clauses, and SET clause references to leak protected field contents despite lacking SELECT permissions."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Improper Authorization",
                            "cweId": "CWE-285",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "surrealdb",
                    "product": "surrealdb",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:cargo/surrealdb",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "2.0.4"
                        },
                        {
                            "version": "2.0.4",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "vendor": "surrealdb",
                    "product": "surrealdb",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:cargo/surrealdb-core",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "2.0.4"
                        },
                        {
                            "version": "2.0.4",
                            "status": "unaffected",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.0.4"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-9722-9j67-vjcr",
                    "name": "GitHub Security Advisory (GHSA-9722-9j67-vjcr)",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: SurrealDB before 2.0.4 Improper Authorization via SELECT Permissions",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/surrealdb-before-improper-authorization-via-select-permissions"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "5hanth",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "Xkonti",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-21T02:37:44.863726Z",
                                "id": "CVE-2024-58367",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-21T02:38:03.821Z"
                }
            }
        ]
    }
}