GLSA 202007-38: QtGui: Arbitrary code execution

Severity:normal
Title:QtGui: Arbitrary code execution
Date:07/27/2020
Bugs: #719732
ID:202007-38

Synopsis

A use-after-free was discovered in QtGui's Markdown handling code possibly allowing a remote attacker to execute arbitrary code.

Background

QtGui is a module for the Qt toolkit.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-qt/qtgui < 5.14.2 >= 5.14.2 All supported architectures

Description

QtGui’s setMarkdown has a use-after-free related to QTextMarkdownImporter::insertBlock.

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All QtGui users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=dev-qt/qtgui-5.14.2"
    

Note that the Qt suite is best kept in sync, so a world upgrade may be advisable to keep your system in a good state.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202007-38.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!