Skip to content

Fix Qt6 CVEs in 2024.02.x

Thomas Petazzoni via buildroot buildroot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9package/qt6/qt6svg: backport fix for CVE-2023-32573package/qt6/qt6svg/0001-QSvgFont-Initialize-used-member-remove-unused.patch package/qt6/qt6svg/qt6svg.mk+64 -00 replies
2/9package/qt6/qt6base: backport fix for CVE-2023-33285package/qt6/qt6base/0001-QDnsLookup-Unix-make-sure-we-don-t-overflow-the-buff.patch package/qt6/qt6base/qt6base.mk+108 -00 replies
3/9package/qt6/qt6base: backport fix for CVE-2023-32762package/qt6/qt6base/0002-Hsts-match-header-names-case-insensitively.patch package/qt6/qt6base/qt6base.mk+59 -00 replies
4/9package/qt6/qt6base: backport fix for CVE-2023-32763package/qt6/qt6base/0003-QTextLayout-fix-maximumWidth-for-a-text-containing-s.patch package/qt6/qt6base/0004-QTextLayout-fix-maximumWidth-for-a-text-containing-l.patch package/qt6/qt6base/0005-Fix-specific-overflow-in-qtextlayout.patch +1 more+337 -00 replies
5/9package/qt6/qt6base: backport fix for CVE-2023-38197package/qt6/qt6base/0006-QOffsetStringArray-fix-ambiguous-qOffsetStringArray-.patch package/qt6/qt6base/0007-QOffsetStringArray-fix-size_t-qsizetype-mismatch.patch package/qt6/qt6base/0008-QXmlStreamReader-use-qOffsetStringArray-for-storing-.patch +2 more+608 -00 replies
6/9package/qt6/qt6base: backport fix for CVE-2023-51714package/qt6/qt6base/0010-HPack-fix-a-Yoda-Condition.patch package/qt6/qt6base/0011-HPack-fix-incorrect-integer-overflow-check.patch package/qt6/qt6base/qt6base.mk+93 -00 replies
7/9package/qt6/qt6base: backport fix for CVE-2023-37369package/qt6/qt6base/0012-QXmlStreamReader-change-fastScanName-to-take-a-Value.patch package/qt6/qt6base/0013-QXmlStreamReader-make-fastScanName-indicate-parsing-.patch package/qt6/qt6base/qt6base.mk+391 -00 replies
8/9package/qt6/qt6base: backport fix for CVE-2023-34410package/qt6/qt6base/0014-Schannel-Reject-certificate-not-signed-by-a-configur.patch package/qt6/qt6base/0015-Ssl-Copy-the-on-demand-cert-loading-bool-from-defaul.patch package/qt6/qt6base/qt6base.mk+414 -00 replies
9/9package/qt6/qt6base: backport fix for CVE-2024-39936package/qt6/qt6base/0016-HTTP2-Delay-any-communication-until-encrypted-can-be.patch package/qt6/qt6base/qt6base.mk+250 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 2024.02.x 0/9] Fix Qt6 CVEs in 2024.02.x

Hello,

The Qt6 version currently packaged in Buildroot 2024.02.x is affected by a number of CVEs. This series of patches fixes all reported CVEs affecting Qt6, by backporting the relevant patches from upstream.

Some of the fixes do require bringing along some related changes, as they would not otherwise apply without significant rework.

All of the CVEs expect CVE-2024-39936 only affect 2024.02.x, as Buildroot 2024.05 has a newer Qt6 version that isn't affected by those CVEs. CVE-2024-39936 is already fixed in master (commit b866afa68405564497dd60c1f8f33cdf71d22728), but this patch series provides a fix that applies cleanly on the the Qt6 version packaged in 2024.02.x, so it should be considered as a replacement for backporting b866afa68405564497dd60c1f8f33cdf71d22728 to 2024.02.x.

Thanks,

Thomas

Thomas Petazzoni (9):
package/qt6/qt6svg: backport fix for CVE-2023-32573 package/qt6/qt6base: backport fix for CVE-2023-33285 package/qt6/qt6base: backport fix for CVE-2023-32762 package/qt6/qt6base: backport fix for CVE-2023-32763 package/qt6/qt6base: backport fix for CVE-2023-38197 package/qt6/qt6base: backport fix for CVE-2023-51714 package/qt6/qt6base: backport fix for CVE-2023-37369 package/qt6/qt6base: backport fix for CVE-2023-34410 package/qt6/qt6base: backport fix for CVE-2024-39936

 ...make-sure-we-don-t-overflow-the-buff.patch | 106 +++++
 ...atch-header-names-case-insensitively.patch |  57 +++
 ...maximumWidth-for-a-text-containing-s.patch |  88 ++++
 ...maximumWidth-for-a-text-containing-l.patch | 168 ++++++++
 ...Fix-specific-overflow-in-qtextlayout.patch |  79 ++++
 ...ay-fix-ambiguous-qOffsetStringArray-.patch |  49 +++
 ...gArray-fix-size_t-qsizetype-mismatch.patch |  37 ++
 ...-use-qOffsetStringArray-for-storing-.patch | 114 +++++
 ...der-Raise-error-on-unexpected-tokens.patch | 406 ++++++++++++++++++
 .../0010-HPack-fix-a-Yoda-Condition.patch     |  43 ++
 ...fix-incorrect-integer-overflow-check.patch |  48 +++
 ...-change-fastScanName-to-take-a-Value.patch | 112 +++++
 ...-make-fastScanName-indicate-parsing-.patch | 277 ++++++++++++
 ...certificate-not-signed-by-a-configur.patch | 295 +++++++++++++
 ...demand-cert-loading-bool-from-defaul.patch | 116 +++++
 ...communication-until-encrypted-can-be.patch | 248 +++++++++++
 package/qt6/qt6base/qt6base.mk                |  17 +
 ...Initialize-used-member-remove-unused.patch |  62 +++
 package/qt6/qt6svg/qt6svg.mk                  |   2 +
 19 files changed, 2324 insertions(+)
 create mode 100644 package/qt6/qt6base/0001-QDnsLookup-Unix-make-sure-we-don-t-overflow-the-buff.patch
 create mode 100644 package/qt6/qt6base/0002-Hsts-match-header-names-case-insensitively.patch
 create mode 100644 package/qt6/qt6base/0003-QTextLayout-fix-maximumWidth-for-a-text-containing-s.patch
 create mode 100644 package/qt6/qt6base/0004-QTextLayout-fix-maximumWidth-for-a-text-containing-l.patch
 create mode 100644 package/qt6/qt6base/0005-Fix-specific-overflow-in-qtextlayout.patch
 create mode 100644 package/qt6/qt6base/0006-QOffsetStringArray-fix-ambiguous-qOffsetStringArray-.patch
 create mode 100644 package/qt6/qt6base/0007-QOffsetStringArray-fix-size_t-qsizetype-mismatch.patch
 create mode 100644 package/qt6/qt6base/0008-QXmlStreamReader-use-qOffsetStringArray-for-storing-.patch
 create mode 100644 package/qt6/qt6base/0009-QXmlStreamReader-Raise-error-on-unexpected-tokens.patch
 create mode 100644 package/qt6/qt6base/0010-HPack-fix-a-Yoda-Condition.patch
 create mode 100644 package/qt6/qt6base/0011-HPack-fix-incorrect-integer-overflow-check.patch
 create mode 100644 package/qt6/qt6base/0012-QXmlStreamReader-change-fastScanName-to-take-a-Value.patch
 create mode 100644 package/qt6/qt6base/0013-QXmlStreamReader-make-fastScanName-indicate-parsing-.patch
 create mode 100644 package/qt6/qt6base/0014-Schannel-Reject-certificate-not-signed-by-a-configur.patch
 create mode 100644 package/qt6/qt6base/0015-Ssl-Copy-the-on-demand-cert-loading-bool-from-defaul.patch
 create mode 100644 package/qt6/qt6base/0016-HTTP2-Delay-any-communication-until-encrypted-can-be.patch
 create mode 100644 package/qt6/qt6svg/0001-QSvgFont-Initialize-used-member-remove-unused.patch
Signature · 6 lines
2.46.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot