CVE-2023-41038 Server crash when using specific form of SET BIND statement

High 7.5 Published Updated

A non-privileged user can crash the Firebird database server by executing a SET BIND statement with a long CHAR length, causing stack corruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-41038?

CVE-2023-41038 is a high-severity denial of service vulnerability in FirebirdSQL firebird, published on 20 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-770

Which versions are affected by CVE-2023-41038?

It affects 1 product.

Products include Firebirdsql Firebird.

How do I fix CVE-2023-41038?

No fix has been published for CVE-2023-41038 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-41038 being exploited?

There is no known exploitation of CVE-2023-41038 in the wild and no public exploit code.

Sources

Also known as GHSA-6fv8-8rwr-9692, UBUNTU-CVE-2023-41038.

Is CVE-2023-41038 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free