Bug 1993136 (CVE-2020-24742) - CVE-2020-24742 qt: QPluginLoader loads plugins relative to CWD which could result in arbitrary code execution
Summary: CVE-2020-24742 qt: QPluginLoader loads plugins relative to CWD which could re...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-24742
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1993137 1993138 1993139 2011866 2011867
Blocks: 1993141
TreeView+ depends on / blocked
 
Reported: 2021-08-12 13:10 UTC by Michael Kaplan
Modified: 2022-04-17 21:34 UTC (History)
9 users (show)

Fixed In Version: qt 5.12.7, qt 5.14.0
Clone Of:
Environment:
Last Closed: 2021-11-19 14:38:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2021-08-12 13:10:30 UTC
An issue has been fixed in Qt versions 5.14.0 where QPluginLoader attempts to load plugins relative to the working directory, allowing attackers to execute arbitrary code via crafted files.

Reference:

https://codereview.qt-project.org/c/qt/qtbase/+/280730

Comment 1 Michael Kaplan 2021-08-12 13:11:03 UTC
Created qt tracking bugs for this issue:

Affects: fedora-all [bug 1993139]


Created qt3 tracking bugs for this issue:

Affects: fedora-all [bug 1993137]


Created qt5 tracking bugs for this issue:

Affects: fedora-all [bug 1993138]

Comment 4 Marco Benatto 2021-10-11 13:08:24 UTC
Currently qt5 from versions 5.6.0 up to 5.12.7 and 5.14.0 allows plugins to be loaded from CWD. This may lead to arbitrary code execution, as QT plugin manager may eventually load a compromised plugin maliciously placed into CWD by an attacker instead a legit one.


Note You need to log in before you can comment on or make changes to this bug.