ubuntu-cve-2023-41038
Vulnerability from osv_ubuntu
Published
2024-03-20 15:15
Modified
2026-05-20 15:02
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "firebird2.5-classic",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "firebird2.5-classic-common",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "firebird2.5-common",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "firebird2.5-examples",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "firebird2.5-server-common",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "firebird2.5-super",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "firebird2.5-superclassic",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "libfbclient2",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "libfbembed2.5",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          },
          {
            "binary_name": "libib-util",
            "binary_version": "2.5.2.26540.ds4-9ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "firebird2.5",
        "purl": "pkg:deb/ubuntu/firebird2.5@2.5.2.26540.ds4-9ubuntu1.1?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5.2.26540.ds4-3",
        "2.5.2.26540.ds4-7",
        "2.5.2.26540.ds4-8",
        "2.5.2.26540.ds4-8ubuntu1",
        "2.5.2.26540.ds4-8ubuntu2",
        "2.5.2.26540.ds4-9ubuntu1",
        "2.5.2.26540.ds4-9ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "firebird2.5-classic",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "firebird2.5-classic-common",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "firebird2.5-common",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "firebird2.5-examples",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "firebird2.5-server-common",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "firebird2.5-super",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "firebird2.5-superclassic",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libfbclient2",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libfbembed2.5",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "libib-util",
            "binary_version": "2.5.4.26856.ds4-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "firebird2.5",
        "purl": "pkg:deb/ubuntu/firebird2.5@2.5.4.26856.ds4-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5.4.26856.ds4-1build1",
        "2.5.4.26856.ds4-1ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-relational",
            "binary_version": "2.2-1"
          },
          {
            "binary_name": "relational",
            "binary_version": "2.2-1"
          },
          {
            "binary_name": "relational-cli",
            "binary_version": "2.2-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "relational",
        "purl": "pkg:deb/ubuntu/relational@2.2-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0-1",
        "2.1-2",
        "2.2-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "firebird3.0-common",
            "binary_version": "3.0.2.32703.ds4-11ubuntu2"
          },
          {
            "binary_name": "firebird3.0-examples",
            "binary_version": "3.0.2.32703.ds4-11ubuntu2"
          },
          {
            "binary_name": "firebird3.0-server",
            "binary_version": "3.0.2.32703.ds4-11ubuntu2"
          },
          {
            "binary_name": "firebird3.0-server-core",
            "binary_version": "3.0.2.32703.ds4-11ubuntu2"
          },
          {
            "binary_name": "firebird3.0-utils",
            "binary_version": "3.0.2.32703.ds4-11ubuntu2"
          },
          {
            "binary_name": "libfbclient2",
            "binary_version": "3.0.2.32703.ds4-11ubuntu2"
          },
          {
            "binary_name": "libib-util",
            "binary_version": "3.0.2.32703.ds4-11ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "firebird3.0",
        "purl": "pkg:deb/ubuntu/firebird3.0@3.0.2.32703.ds4-11ubuntu2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.2.32703.ds4-9",
        "3.0.2.32703.ds4-11ubuntu1",
        "3.0.2.32703.ds4-11ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-relational",
            "binary_version": "2.5-1"
          },
          {
            "binary_name": "relational",
            "binary_version": "2.5-1"
          },
          {
            "binary_name": "relational-cli",
            "binary_version": "2.5-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "relational",
        "purl": "pkg:deb/ubuntu/relational@2.5-1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "firebird3.0-common",
            "binary_version": "3.0.5.33220.ds4-1build2"
          },
          {
            "binary_name": "firebird3.0-examples",
            "binary_version": "3.0.5.33220.ds4-1build2"
          },
          {
            "binary_name": "firebird3.0-server",
            "binary_version": "3.0.5.33220.ds4-1build2"
          },
          {
            "binary_name": "firebird3.0-server-core",
            "binary_version": "3.0.5.33220.ds4-1build2"
          },
          {
            "binary_name": "firebird3.0-utils",
            "binary_version": "3.0.5.33220.ds4-1build2"
          },
          {
            "binary_name": "libfbclient2",
            "binary_version": "3.0.5.33220.ds4-1build2"
          },
          {
            "binary_name": "libib-util",
            "binary_version": "3.0.5.33220.ds4-1build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "firebird3.0",
        "purl": "pkg:deb/ubuntu/firebird3.0@3.0.5.33220.ds4-1build2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.5.33100.ds4-3",
        "3.0.5.33189.ds4-1",
        "3.0.5.33209.ds4-1",
        "3.0.5.33220.ds4-1",
        "3.0.5.33220.ds4-1build1",
        "3.0.5.33220.ds4-1build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-relational",
            "binary_version": "2.5-2"
          },
          {
            "binary_name": "relational",
            "binary_version": "2.5-2"
          },
          {
            "binary_name": "relational-cli",
            "binary_version": "2.5-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "relational",
        "purl": "pkg:deb/ubuntu/relational@2.5-2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "firebird3.0-common",
            "binary_version": "3.0.8.33535.ds4-1ubuntu2"
          },
          {
            "binary_name": "firebird3.0-examples",
            "binary_version": "3.0.8.33535.ds4-1ubuntu2"
          },
          {
            "binary_name": "firebird3.0-server",
            "binary_version": "3.0.8.33535.ds4-1ubuntu2"
          },
          {
            "binary_name": "firebird3.0-server-core",
            "binary_version": "3.0.8.33535.ds4-1ubuntu2"
          },
          {
            "binary_name": "firebird3.0-utils",
            "binary_version": "3.0.8.33535.ds4-1ubuntu2"
          },
          {
            "binary_name": "libfbclient2",
            "binary_version": "3.0.8.33535.ds4-1ubuntu2"
          },
          {
            "binary_name": "libib-util",
            "binary_version": "3.0.8.33535.ds4-1ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "firebird3.0",
        "purl": "pkg:deb/ubuntu/firebird3.0@3.0.8.33535.ds4-1ubuntu2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.7.33374.ds4-2",
        "3.0.8.33535.ds4-1ubuntu1",
        "3.0.8.33535.ds4-1ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-relational",
            "binary_version": "3.0-1"
          },
          {
            "binary_name": "relational",
            "binary_version": "3.0-1"
          },
          {
            "binary_name": "relational-cli",
            "binary_version": "3.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "relational",
        "purl": "pkg:deb/ubuntu/relational@3.0-1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "firebird3.0-common",
            "binary_version": "3.0.11.33703.ds4-2ubuntu2"
          },
          {
            "binary_name": "firebird3.0-examples",
            "binary_version": "3.0.11.33703.ds4-2ubuntu2"
          },
          {
            "binary_name": "firebird3.0-server",
            "binary_version": "3.0.11.33703.ds4-2ubuntu2"
          },
          {
            "binary_name": "firebird3.0-server-core",
            "binary_version": "3.0.11.33703.ds4-2ubuntu2"
          },
          {
            "binary_name": "firebird3.0-utils",
            "binary_version": "3.0.11.33703.ds4-2ubuntu2"
          },
          {
            "binary_name": "libfbclient2",
            "binary_version": "3.0.11.33703.ds4-2ubuntu2"
          },
          {
            "binary_name": "libib-util",
            "binary_version": "3.0.11.33703.ds4-2ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "firebird3.0",
        "purl": "pkg:deb/ubuntu/firebird3.0@3.0.11.33703.ds4-2ubuntu2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.11.33637.ds4-2ubuntu1",
        "3.0.11.33637.ds4-2ubuntu2",
        "3.0.11.33703.ds4-2ubuntu1",
        "3.0.11.33703.ds4-2ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-relational",
            "binary_version": "3.1-1"
          },
          {
            "binary_name": "relational",
            "binary_version": "3.1-1"
          },
          {
            "binary_name": "relational-cli",
            "binary_version": "3.1-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "relational",
        "purl": "pkg:deb/ubuntu/relational@3.1-1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0-1",
        "3.1-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "firebird3.0-common",
            "binary_version": "3.0.12.ds7-12"
          },
          {
            "binary_name": "firebird3.0-examples",
            "binary_version": "3.0.12.ds7-12"
          },
          {
            "binary_name": "firebird3.0-server",
            "binary_version": "3.0.12.ds7-12"
          },
          {
            "binary_name": "firebird3.0-server-core",
            "binary_version": "3.0.12.ds7-12"
          },
          {
            "binary_name": "firebird3.0-utils",
            "binary_version": "3.0.12.ds7-12"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "firebird3.0",
        "purl": "pkg:deb/ubuntu/firebird3.0@3.0.12.ds7-12?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.12.ds7-12"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-relational",
            "binary_version": "3.3-1"
          },
          {
            "binary_name": "relational",
            "binary_version": "3.3-1"
          },
          {
            "binary_name": "relational-cli",
            "binary_version": "3.3-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "relational",
        "purl": "pkg:deb/ubuntu/relational@3.3-1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.3-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "firebird3.0-common",
            "binary_version": "3.0.13.ds7-2build1"
          },
          {
            "binary_name": "firebird3.0-examples",
            "binary_version": "3.0.13.ds7-2build1"
          },
          {
            "binary_name": "firebird3.0-server",
            "binary_version": "3.0.13.ds7-2build1"
          },
          {
            "binary_name": "firebird3.0-server-core",
            "binary_version": "3.0.13.ds7-2build1"
          },
          {
            "binary_name": "firebird3.0-utils",
            "binary_version": "3.0.13.ds7-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "firebird3.0",
        "purl": "pkg:deb/ubuntu/firebird3.0@3.0.13.ds7-2build1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.12.ds7-12",
        "3.0.13.ds7-2",
        "3.0.13.ds7-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "python3-relational",
            "binary_version": "3.4-1"
          },
          {
            "binary_name": "relational",
            "binary_version": "3.4-1"
          },
          {
            "binary_name": "relational-cli",
            "binary_version": "3.4-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "relational",
        "purl": "pkg:deb/ubuntu/relational@3.4-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.3-1",
        "3.4-1"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2023-41038",
  "modified": "2026-05-20T15:02:50Z",
  "published": "2024-03-20T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-41038"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692"
    },
    {
      "type": "REPORT",
      "url": "https://firebirdsql.org/en/snapshot-builds"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-41038"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-41038"
  ]
}



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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…