Vulnerability · Published Oct 21, 2021 · Assigned by GitHub_M

CVE-2021-41146Arbitrary command execution on Windows in qutebrowser

High 8.8

In plain English

A high-severity command injection in qutebrowser from qutebrowser. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.5%top 25.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIqutebrowser2.4.0GHSA-vw27-fwjf-5qxm
PyPIqutebrowser1.8.0, 2.4.0PYSEC-2021-382

Affected products (as reported)

VendorProductVersions
qutebrowser qutebrowser >= 1.7.0, < 2.4.0

Weakness: CWE-77, CWE-88, CWE-641 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References