CVE-2022-25255 Path traversal in n/a
An attacker can execute arbitrary binaries from the current working directory via QProcess, leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25255?
CVE-2022-25255 is a high-severity path traversal vulnerability in Qt Qt, published on 16 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-25255?
It affects 1 product.
Linux distribution packages (20)
qt5-devel AlmaLinux:8 | All versions | 5.15.3-1.el8 |
qt5-rpm-macros AlmaLinux:8 | All versions | 5.15.3-1.el8 |
qt5-srpm-macros AlmaLinux:8 | All versions | 5.15.3-1.el8 |
qt5 AlmaLinux:9 | All versions | 5.15.3-1.el9 |
qt5-devel AlmaLinux:9 | All versions | 5.15.3-1.el9 |
qt5-rpm-macros AlmaLinux:9 | All versions | 5.15.3-1.el9 |
qt5-srpm-macros AlmaLinux:9 | All versions | 5.15.3-1.el9 |
qt5 Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.3-1.el8 |
qt5-rpm-macros Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.3-1.el8 |
qt5-srpm-macros Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.3-1.el8 |
qt5-devel Red Hat:enterprise_linux:8::crb | All versions | 0:5.15.3-1.el8 |
qt5 Red Hat:enterprise_linux:9::appstream | All versions | 0:5.15.3-1.el9 |
qt5-rpm-macros Red Hat:enterprise_linux:9::appstream | All versions | 0:5.15.3-1.el9 |
qt5-srpm-macros Red Hat:enterprise_linux:9::appstream | All versions | 0:5.15.3-1.el9 |
qt5-devel Red Hat:enterprise_linux:9::crb | All versions | 0:5.15.3-1.el9 |
qt5 Rocky Linux:8 | All versions | 0:5.15.3-1.el8 |
qt5 Rocky Linux:9 | All versions | 0:5.15.3-1.el9 |
libqt5-qtbase openSUSE:Tumbleweed | All versions | 5.15.2+kde294-4.1 |
qt6-base openSUSE:Tumbleweed | All versions | 6.2.3-2.1 |
qutebrowser openSUSE:Tumbleweed | All versions | 2.5.0-1.1 |
Products include Qt Qt.
How do I fix CVE-2022-25255?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-25255 being exploited?
There is no known exploitation of CVE-2022-25255 in the wild and no public exploit code.
Other vulnerabilities in Qt Qt
Sources
Also known as ALSA-2022:7482, ALSA-2022:8022, AZL-50050, DEBIAN-CVE-2022-25255, GHSA-fw78-qp2x-5gc7, OESA-2022-1787 and 9 more.