Skip to content
OpenAdvisories
High · 8.8 CVE-2021-41146 EUVD-2021-0220GHSA-vw27-fwjf-5qxmPYSEC-2021-382

Arbitrary command execution on Windows in qutebrowser

Published Oct 21, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

qutebrowser is an open source keyboard-focused browser with a minimal GUI. Starting with qutebrowser v1.7.0, the Windows installer for qutebrowser registers a `qutebrowserurl:` URL handler. With certain applications, opening a specially crafted `qutebrowserurl:...` URL can lead to execution of qutebrowser commands, which in turn allows arbitrary code execution via commands such as `:spawn` or `:debug-pyeval`. Only Windows installs where qutebrowser is registered as URL handler are affected. The issue has been fixed in qutebrowser v2.4.0. The fix also adds additional hardening for potential similar issues on Linux (by adding the new --untrusted-args flag to the .desktop file), though no such vulnerabilities are known.

Affected products

VendorProductAffectedFixed
qutebrowser qutebrowser >= 1.7.0, < 2.4.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI qutebrowser >= 1.7.0, < 2.4.0 2.4.0 GHSA-vw27-fwjf-5qxm
PyPI qutebrowser < 1.8.0 · >= 2.0.0, < 2.4.0 1.8.0, 2.4.0 PYSEC-2021-382

References