CVE-2023-41038 (GCVE-0-2023-41038)

Vulnerability from cvelistv5 – Published: 2024-03-20 14:22 – Updated: 2024-08-13 16:44
VLAI
Title
Server crash when using specific form of SET BIND statement
Summary
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.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-03-20 19:37 UTC
CWE
  • CWE-770 - Allocation of Resources Without Limits or Throttling
References
Impacted products
Vendor Product Version CPE status
FirebirdSQL firebird Affected: >= 4.0.0, < 4.0.4.2981
Affected: >= 5.0 beta1, < 5.0.0.1176
guessed Create a notification for this product.
firebirdsql firebird Affected: 4.0.0 , < 4.0.4.2981 (custom)
Affected: 5.0_beta1 , < 5.0.0.1176 (custom)
    cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T18:46:11.557Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "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"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "affected": [
          {
            "cpes": [
              "cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*"
            ],
            "defaultStatus": "unknown",
            "product": "firebird",
            "vendor": "firebirdsql",
            "versions": [
              {
                "lessThan": "4.0.4.2981",
                "status": "affected",
                "version": "4.0.0",
                "versionType": "custom"
              },
              {
                "lessThan": "5.0.0.1176",
                "status": "affected",
                "version": "5.0_beta1",
                "versionType": "custom"
              }
            ]
          }
        ],
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-41038",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-20T19:37:40.792401Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-08-13T16:44:27.739Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "firebird",
          "vendor": "FirebirdSQL",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 4.0.0, \u003c 4.0.4.2981"
            },
            {
              "status": "affected",
              "version": "\u003e= 5.0 beta1, \u003c 5.0.0.1176"
            }
          ]
        }
      ],
      "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."
        }
      ],
      "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"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-770",
              "description": "CWE-770: Allocation of Resources Without Limits or Throttling",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-03-20T14:22:50.484Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "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"
        }
      ],
      "source": {
        "advisory": "GHSA-6fv8-8rwr-9692",
        "discovery": "UNKNOWN"
      },
      "title": "Server crash when using specific form of SET BIND statement"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2023-41038",
    "datePublished": "2024-03-20T14:22:50.484Z",
    "dateReserved": "2023-08-22T16:57:23.932Z",
    "dateUpdated": "2024-08-13T16:44:27.739Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-41038",
      "date": "2026-09-28",
      "epss": "0.00658",
      "percentile": "0.49497"
    },
    "fkie_nvd": {
      "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."
        },
        {
          "lang": "es",
          "value": "Firebird es una base de datos relacional. Las versiones 4.0.0 a 4.0.3 y la versi\u00f3n 5.0 beta1 son vulnerables a un bloqueo del servidor cuando un usuario utiliza una forma espec\u00edfica de la declaraci\u00f3n SET BIND. Cualquier usuario sin privilegios con un acceso m\u00ednimo a un servidor puede escribir una declaraci\u00f3n con una longitud `CHAR` larga, lo que hace que el servidor se bloquee debido a la corrupci\u00f3n de la pila. Las versiones 4.0.4.2981 y 5.0.0.117 contienen correcciones para este problema. No se conocen workarounds disponibles."
        }
      ],
      "id": "CVE-2023-41038",
      "lastModified": "2024-11-21T08:20:25.967",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "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"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      },
      "published": "2024-03-20T15:15:07.290",
      "references": [
        {
          "source": "security-advisories@github.com",
          "url": "https://firebirdsql.org/en/snapshot-builds"
        },
        {
          "source": "security-advisories@github.com",
          "url": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://firebirdsql.org/en/snapshot-builds"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692"
        }
      ],
      "sourceIdentifier": "security-advisories@github.com",
      "vulnStatus": "Awaiting Analysis",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-770"
            }
          ],
          "source": "security-advisories@github.com",
          "type": "Secondary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "firebird",
                "vendor": "FirebirdSQL",
                "versions": [
                  {
                    "status": "affected",
                    "version": "\u003e= 4.0.0, \u003c 4.0.4.2981"
                  },
                  {
                    "status": "affected",
                    "version": "\u003e= 5.0 beta1, \u003c 5.0.0.1176"
                  }
                ]
              }
            ],
            "source": "security-advisories@github.com"
          },
          {
            "affectedData": [
              {
                "cpes": [
                  "cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "firebird",
                "vendor": "firebirdsql",
                "versions": [
                  {
                    "lessThan": "4.0.4.2981",
                    "status": "affected",
                    "version": "4.0.0",
                    "versionType": "custom"
                  },
                  {
                    "lessThan": "5.0.0.1176",
                    "status": "affected",
                    "version": "5.0_beta1",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7EFE0C34-8E5F-4D5C-B072-D6319FC7E081",
                    "versionEndIncluding": "4.0.3",
                    "versionStartIncluding": "4.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:firebirdsql:firebird:5.0:beta1:*:*:*:*:*:*",
                    "matchCriteriaId": "C1A6D3C4-2FA7-4F20-ACB5-679D82DDC008",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "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."
          },
          {
            "lang": "es",
            "value": "Firebird es una base de datos relacional. Las versiones 4.0.0 a 4.0.3 y la versi\u00f3n 5.0 beta1 son vulnerables a un bloqueo del servidor cuando un usuario utiliza una forma espec\u00edfica de la declaraci\u00f3n SET BIND. Cualquier usuario sin privilegios con un acceso m\u00ednimo a un servidor puede escribir una declaraci\u00f3n con una longitud `CHAR` larga, lo que hace que el servidor se bloquee debido a la corrupci\u00f3n de la pila. Las versiones 4.0.4.2981 y 5.0.0.117 contienen correcciones para este problema. No se conocen workarounds disponibles."
          }
        ],
        "id": "CVE-2023-41038",
        "lastModified": "2026-06-17T06:20:13.533",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "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"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "security-advisories@github.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2023-41038",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-03-20T19:37:40.792401Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2024-03-20T15:15:07.290",
        "references": [
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Product"
            ],
            "url": "https://firebirdsql.org/en/snapshot-builds"
          },
          {
            "source": "security-advisories@github.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Product"
            ],
            "url": "https://firebirdsql.org/en/snapshot-builds"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692"
          }
        ],
        "sourceIdentifier": "security-advisories@github.com",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-770"
              }
            ],
            "source": "security-advisories@github.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2025-05-28T23:18:30+00:00",
      "cve": "CVE-2023-41038",
      "id": "CVE-2023-41038",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "Server crash when using specific form of SET BIND statement",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-41038.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2025-09-02T23:34:36Z",
      "cve": "CVE-2023-41038",
      "id": "CVE-2023-41038",
      "initial_release_date": "2024-03-22T04:19:52Z",
      "product_status:known_not_affected": "19",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-41038",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-41038.json",
      "version": "8"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T18:46:11.557Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "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"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "affected": [
              {
                "cpes": [
                  "cpe:2.3:a:firebirdsql:firebird:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "firebird",
                "vendor": "firebirdsql",
                "versions": [
                  {
                    "lessThan": "4.0.4.2981",
                    "status": "affected",
                    "version": "4.0.0",
                    "versionType": "custom"
                  },
                  {
                    "lessThan": "5.0.0.1176",
                    "status": "affected",
                    "version": "5.0_beta1",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2023-41038",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-03-20T19:37:40.792401Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-08-13T16:44:24.002Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "firebird",
              "vendor": "FirebirdSQL",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 4.0.0, \u003c 4.0.4.2981"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 5.0 beta1, \u003c 5.0.0.1176"
                }
              ]
            }
          ],
          "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."
            }
          ],
          "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"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770: Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-03-20T14:22:50.484Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "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"
            }
          ],
          "source": {
            "advisory": "GHSA-6fv8-8rwr-9692",
            "discovery": "UNKNOWN"
          },
          "title": "Server crash when using specific form of SET BIND statement"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2023-41038",
        "datePublished": "2024-03-20T14:22:50.484Z",
        "dateReserved": "2023-08-22T16:57:23.932Z",
        "dateUpdated": "2024-08-13T16:44:27.739Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…