Bug 2019170 (CVE-2021-41146) - CVE-2021-41146 qutebrowser: arbitrary command execution via URL handler
Summary: CVE-2021-41146 qutebrowser: arbitrary command execution via URL handler
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-41146
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2019171
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-01 18:12 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-01 20:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-01 20:07:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-11-01 18:12:48 UTC
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.

Reference:
https://github.com/qutebrowser/qutebrowser/security/advisories/GHSA-vw27-fwjf-5qxm

Upstream patch:
https://github.com/qutebrowser/qutebrowser/commit/8f46ba3f6dc7b18375f7aa63c48a1fe461190430

Comment 1 Guilherme de Almeida Suckevicz 2021-11-01 18:13:00 UTC
Created qutebrowser tracking bugs for this issue:

Affects: fedora-all [bug 2019171]

Comment 2 Product Security DevOps Team 2021-11-01 20:07:50 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.