{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-27588",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Hasura is an open-source product that provides users GraphQL or REST APIs. A path traversal vulnerability has been discovered within Hasura GraphQL Engine prior to versions 1.3.4, 2.55.1, 2.20.1, and 2.21.0-beta1. Projects running on Hasura Cloud were not vulnerable. Self-hosted Hasura Projects with deployments that are publicly exposed and not protected by a WAF or other HTTP protection layer should be upgraded to version 1.3.4, 2.55.1, 2.20.1, or 2.21.0-beta1 to receive a patch."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-27: Path Traversal: 'dir/../../filename'",
                        "cweId": "CWE-27"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                        "cweId": "CWE-22"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "hasura",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "graphql-engine",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 1.3.4"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.0.0, < 2.11.5"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.2.0, < 2.20.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/hasura/graphql-engine/security/advisories/GHSA-c9rw-rw2f-mj4x",
                "refsource": "MISC",
                "name": "https://github.com/hasura/graphql-engine/security/advisories/GHSA-c9rw-rw2f-mj4x"
            },
            {
                "url": "https://github.com/hasura/graphql-engine/commit/dda54543ee1ecf647ca5d0971b140c3a7b9f4158",
                "refsource": "MISC",
                "name": "https://github.com/hasura/graphql-engine/commit/dda54543ee1ecf647ca5d0971b140c3a7b9f4158"
            },
            {
                "url": "https://github.com/hasura/graphql-engine/releases/tag/v1.3.4",
                "refsource": "MISC",
                "name": "https://github.com/hasura/graphql-engine/releases/tag/v1.3.4"
            },
            {
                "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.11.5",
                "refsource": "MISC",
                "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.11.5"
            },
            {
                "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.20.1",
                "refsource": "MISC",
                "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.20.1"
            },
            {
                "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.21.0-beta.1",
                "refsource": "MISC",
                "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.21.0-beta.1"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-c9rw-rw2f-mj4x",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
            }
        ]
    }
}