Lucene search

K
qtAndy ShawQT:E58364D8D67B3149D47C5094977BC663
HistorySep 12, 2022 - 12:00 a.m.

Security advisory: zlib in Qt

2022-09-1200:00:00
Andy Shaw
www.qt.io
77
security advisory
zlib
qt
buffer over-read
buffer overflow
inflate
cve-2022-37434
patch
update.

0.003 Low

EPSS

Percentile

71.7%

zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field and has been assigned the CVE id CVE-2022-37434.

As this only affects applications that call inflateGetHeader directly then applications using Qt are not directly affected by this at all. The symbol may still be exploited if used in conjunction with another vulnerability or if the application uses this function directly.

Solution: Apply the following patches (two from Gerrit, or single downloadable patch) or update to Qt 6.4.0, Qt 6.3.2, Qt 6.2.6 or Qt 5.15.11

Patches:

dev: <https://codereview.qt-project.org/c/qt/qtbase/+/429597&gt; and <https://codereview.qt-project.org/c/qt/qtbase/+/430422&gt;
Qt 6.4: <https://codereview.qt-project.org/c/qt/qtbase/+/429655&gt; and <https://codereview.qt-project.org/c/qt/qtbase/+/430870&gt;
Qt 6.3: <https://codereview.qt-project.org/c/qt/qtbase/+/429654&gt; and <https://codereview.qt-project.org/c/qt/qtbase/+/430919&gt; or <https://download.qt.io/official_releases/qt/6.3/CVE-2022-37434-qtbase-6.3.patch&gt;
Qt 6.2: <https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/429679&gt; and <https://codereview.qt-project.org/c/qt%2Ftqtc-qtbase/+/430921&gt; or <https://download.qt.io/official_releases/qt/6.2/CVE-2022-37434-qtbase-6.2.patch&gt;
Qt 5.15: <https://codereview.qt-project.org/c/qt%2Ftqtc-qtbase/+/429680&gt; and <https://codereview.qt-project.org/c/qt%2Ftqtc-qtbase/+/430922&gt; or <https://download.qt.io/official_releases/qt/5.15/CVE-2022-37434-qtbase-5.15.patch&gt;