Bug 1221789 (CVE-2023-41038)

Summary: VUL-0: CVE-2023-41038: firebird,firebird-classic: server to crash due to stack corruption when a user uses a specific form of SET BIND statement
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: andrea.mattiazzo
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/398346/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-41038:6.5:(AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-03-21 09:00:00 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-41038
https://www.cve.org/CVERecord?id=CVE-2023-41038
https://firebirdsql.org/en/snapshot-builds
https://github.com/FirebirdSQL/firebird/security/advisories/GHSA-6fv8-8rwr-9692

Patch:
https://github.com/FirebirdSQL/firebird/commit/75b2e10eeef8846b77018cbb3959974fbdcb3205
https://github.com/FirebirdSQL/firebird/commit/a41273d8d12fe9fcfe01b65d1ad53daded6ac5d3
Comment 1 Andrea Mattiazzo 2024-03-21 09:00:44 UTC
Closing since all shipped products are not affected