{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-27588",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-03-04T01:03:53.635Z",
        "datePublished": "2023-03-14T17:23:10.499Z",
        "dateUpdated": "2024-08-02T12:16:35.882Z"
    },
    "containers": {
        "cna": {
            "title": "Unauthenticated path traversal vulnerability in Hasura GraphQL Engine",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-27",
                            "lang": "en",
                            "description": "CWE-27: Path Traversal: 'dir/../../filename'",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-22",
                            "lang": "en",
                            "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/hasura/graphql-engine/security/advisories/GHSA-c9rw-rw2f-mj4x",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/hasura/graphql-engine/security/advisories/GHSA-c9rw-rw2f-mj4x"
                },
                {
                    "name": "https://github.com/hasura/graphql-engine/commit/dda54543ee1ecf647ca5d0971b140c3a7b9f4158",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/hasura/graphql-engine/commit/dda54543ee1ecf647ca5d0971b140c3a7b9f4158"
                },
                {
                    "name": "https://github.com/hasura/graphql-engine/releases/tag/v1.3.4",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/hasura/graphql-engine/releases/tag/v1.3.4"
                },
                {
                    "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.11.5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.11.5"
                },
                {
                    "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.20.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.20.1"
                },
                {
                    "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.21.0-beta.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.21.0-beta.1"
                }
            ],
            "affected": [
                {
                    "vendor": "hasura",
                    "product": "graphql-engine",
                    "versions": [
                        {
                            "version": "< 1.3.4",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.0.0, < 2.11.5",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.2.0, < 2.20.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-14T17:23:10.499Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "source": {
                "advisory": "GHSA-c9rw-rw2f-mj4x",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T12:16:35.882Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/hasura/graphql-engine/security/advisories/GHSA-c9rw-rw2f-mj4x",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/hasura/graphql-engine/security/advisories/GHSA-c9rw-rw2f-mj4x"
                    },
                    {
                        "name": "https://github.com/hasura/graphql-engine/commit/dda54543ee1ecf647ca5d0971b140c3a7b9f4158",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/hasura/graphql-engine/commit/dda54543ee1ecf647ca5d0971b140c3a7b9f4158"
                    },
                    {
                        "name": "https://github.com/hasura/graphql-engine/releases/tag/v1.3.4",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/hasura/graphql-engine/releases/tag/v1.3.4"
                    },
                    {
                        "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.11.5",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.11.5"
                    },
                    {
                        "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.20.1",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.20.1"
                    },
                    {
                        "name": "https://github.com/hasura/graphql-engine/releases/tag/v2.21.0-beta.1",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/hasura/graphql-engine/releases/tag/v2.21.0-beta.1"
                    }
                ]
            }
        ]
    }
}