Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893732 (CVE-2023-24607) - <dev-qt/qtsql-5.15.8-r1: Denial of service vulnerability in ODBC plugin
Summary: <dev-qt/qtsql-5.15.8-r1: Denial of service vulnerability in ODBC plugin
Status: IN_PROGRESS
Alias: CVE-2023-24607
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://lists.qt-project.org/pipermai...
Whiteboard: B3 [glsa?]
Keywords:
Depends on: 893652
Blocks:
  Show dependency tree
 
Reported: 2023-02-09 04:57 UTC by Sam James
Modified: 2023-03-06 04:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-09 04:57:50 UTC
Advisory at https://lists.qt-project.org/pipermail/development/2023-February/043624.html says:
"""
Hi,

A possible DOS involving the Qt SQL ODBC driver plugin has been found and has been assigned the CVE id CVE-2023-24607.
When using the Qt SQL ODBC driver plugin, then it is possible to trigger a DOS with a specifically crafted string. This happens on systems where the size of SQLTCHAR is equal to 4.

Solution: Apply the following patches or update to Qt 5.15.13, Qt 6.2.8, Qt 6.4.3

Patches:

dev: https://codereview.qt-project.org/c/qt/qtbase/+/456007, https://codereview.qt-project.org/c/qt/qtbase/+/457235, https://codereview.qt-project.org/c/qt/qtbase/+/457083
Qt 6.5: https://codereview.qt-project.org/c/qt/qtbase/+/456215, https://codereview.qt-project.org/c/qt/qtbase/+/457658, https://codereview.qt-project.org/c/qt/qtbase/+/457936
Qt 6.4: https://codereview.qt-project.org/c/qt/qtbase/+/456216, https://codereview.qt-project.org/c/qt/qtbase/+/457637, https://codereview.qt-project.org/c/qt/qtbase/+/457937 or https://download.qt.io/official_releases/qt/6.4/CVE-2023-24607-qtbase-6.4.diff
Qt 6.2: https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/456217, https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/457661, https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/457938 or https://download.qt.io/official_releases/qt/6.2/CVE-2023-24607-qtbase-6.2.diff
Qt 5.15: https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/456238, https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/457662, https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/457959 or https://download.qt.io/official_releases/qt/5.15/CVE-2023-24607-qtbase-5.15.diff

Kind regards,
Andy
"""
Comment 1 Larry the Git Cow gentoo-dev 2023-02-27 18:42:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b09dbe3aa2fcf7ffe3173baa5e07ea63e6ea78e1

commit b09dbe3aa2fcf7ffe3173baa5e07ea63e6ea78e1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-02-27 18:25:24 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-27 18:42:33 +0000

    dev-qt/qtsql: drop 5.15.8
    
    Bug: https://bugs.gentoo.org/893732
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-qt/qtsql/Manifest            |  1 -
 dev-qt/qtsql/qtsql-5.15.8.ebuild | 56 ----------------------------------------
 2 files changed, 57 deletions(-)