CVE-2019-13640: OS Command Injection
In qBittorrent before 4.1.7, the function Application::runExternalProgram() located in app/application.cpp allows command injection via shell metacharacters in the torrent name parameter or current tracker parameter, as demonstrated by remote command execution via a crafted name within an RSS feed.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/qbittorrentto a version that resolves this vulnerability.Fixed in 4.1.5-1+deb10u1Fixed in 4.2.5-0.1Fixed in 4.5.2-3Fixed in 4.5.5-1 - Upgrade
Upgrade
debian/qbittorrentto a version that resolves this vulnerability.Fixed in 4.1.7-1Fixed in 4.1.5-1+deb10u1Fixed in 3.3.7-3+deb9u1 - Upgrade
Upgrade
alpine/qbittorrentto a version that resolves this vulnerability.Fixed in 4.1.6-r3
Event History
Frequently Asked Questions
What is the vulnerability ID for this qBittorrent vulnerability?
The vulnerability ID for this qBittorrent vulnerability is CVE-2019-13640.
What is the severity of CVE-2019-13640?
The severity of CVE-2019-13640 is critical with a CVSS score of 9.8.
How does the vulnerability in qBittorrent before 4.1.7 allow command injection?
The vulnerability in qBittorrent before 4.1.7 allows command injection via shell metacharacters in the torrent name parameter or current tracker parameter.
Which versions of qBittorrent are affected by this vulnerability?
The versions of qBittorrent affected by this vulnerability are 4.1.5-1+deb10u1, 4.2.5-0.1, 4.5.2-3, 4.5.5-1, and 4.1.7-1 for Debian. The version up to inclusive 3.3.7-3 is also affected.
How can I fix the vulnerability in qBittorrent?
To fix the vulnerability in qBittorrent, update to version 4.1.7-1 or later.