Name | CVE-2022-25255 |
Description | In Qt 5.9.x through 5.15.x before 5.15.9 and 6.x before 6.2.4 on Linux and UNIX, QProcess could execute a binary from the current working directory when not found in the PATH. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
qt6-base (PTS) | bookworm | 6.4.2+dfsg-10 | fixed |
| trixie | 6.7.2+dfsg-4 | fixed |
| sid | 6.7.2+dfsg-5 | fixed |
qtbase-opensource-src (PTS) | bullseye | 5.15.2+dfsg-9+deb11u1 | fixed |
| bookworm | 5.15.8+dfsg-11+deb12u2 | fixed |
| trixie, sid | 5.15.15+dfsg-2 | fixed |
qtbase-opensource-src-gles (PTS) | bullseye | 5.15.2+dfsg-4 | vulnerable |
| bookworm | 5.15.8+dfsg-3 | fixed |
| trixie, sid | 5.15.15+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - qtbase-opensource-src <ignored> (Breaks existing behaviour and upstream also skipped from 5.12 branch)
[stretch] - qtbase-opensource-src <not-affected> (Vulnerable code introduced later)
[bullseye] - qtbase-opensource-src-gles <no-dsa> (Minor issue)
[buster] - qtbase-opensource-src-gles <ignored> (Breaks existing behaviour and upstream also skipped from 5.12 branch)
https://codereview.qt-project.org/c/qt/qtbase/+/393113
https://codereview.qt-project.org/c/qt/qtbase/+/394914
https://codereview.qt-project.org/c/qt/qtbase/+/396020
https://github.com/qt/qtbase/commit/ab6915f0efb12cfe48d1f126f4a828212f853ce5 (v6.2.4)
https://download.qt.io/official_releases/qt/5.15/qprocess5-15.diff
https://download.qt.io/official_releases/qt/6.2/qprocess6-2.diff
https://www.qt.io/blog/security-advisory-qprocess