{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-41038",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-08-22T16:57:23.932Z",
        "datePublished": "2024-03-20T14:22:50.484Z",
        "dateUpdated": "2024-08-13T16:44:27.739Z"
    },
    "containers": {
        "cna": {
            "title": "Server crash when using specific form of SET BIND statement",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-770",
                            "lang": "en",
                            "description": "CWE-770: Allocation of Resources Without Limits or Throttling",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692"
                },
                {
                    "name": "https://firebirdsql.org/en/snapshot-builds",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://firebirdsql.org/en/snapshot-builds"
                }
            ],
            "affected": [
                {
                    "vendor": "FirebirdSQL",
                    "product": "firebird",
                    "versions": [
                        {
                            "version": ">= 4.0.0, < 4.0.4.2981",
                            "status": "affected"
                        },
                        {
                            "version": ">= 5.0 beta1, < 5.0.0.1176",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-03-20T14:22:50.484Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Firebird is a relational database. Versions 4.0.0 through 4.0.3 and version 5.0 beta1 are vulnerable to a server crash when a user uses a specific form of SET BIND statement. Any non-privileged user with minimum access to a server may type a statement with a long `CHAR` length, which causes the server to crash due to stack corruption. Versions 4.0.4.2981 and 5.0.0.117 contain fixes for this issue. No known workarounds are available."
                }
            ],
            "source": {
                "advisory": "GHSA-6fv8-8rwr-9692",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T18:46:11.557Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692"
                    },
                    {
                        "name": "https://firebirdsql.org/en/snapshot-builds",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://firebirdsql.org/en/snapshot-builds"
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "firebirdsql",
                        "product": "firebird",
                        "cpes": [
                            "cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "4.0.0",
                                "status": "affected",
                                "lessThan": "4.0.4.2981",
                                "versionType": "custom"
                            },
                            {
                                "version": "5.0_beta1",
                                "status": "affected",
                                "lessThan": "5.0.0.1176",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-03-20T19:37:40.792401Z",
                                "id": "CVE-2023-41038",
                                "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": "2024-08-13T16:44:27.739Z"
                }
            }
        ]
    }
}