Qt through 5.15.8 and 6.x through 6.2.3 can load system library files from an unintended working directory.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://codereview.qt-project.org/c/qt/qtbase/+/396440 | patch vendor advisory |
https://codereview.qt-project.org/c/qt/qtbase/+/396689 | patch vendor advisory |
https://download.qt.io/official_releases/qt/6.2/CVE-2022-25643-6.2.diff | patch vendor advisory |
https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/396690 | broken link |
https://download.qt.io/official_releases/qt/5.15/CVE-2022-25643-5.15.diff | patch vendor advisory |