Command injection in bzr (Ubuntu package) - CVE-2017-14176

 

Command injection in bzr (Ubuntu package) - CVE-2017-14176

Published: December 4, 2017 / Updated: June 22, 2020


Vulnerability identifier: #VU9525
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-14176
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The weakness exists due to insufficient validation of user-supplied input. A remote attacker can supply a specially crafted bzr+ssh URL with an initial dash character in the hostname, trick the victim into visiting it, inject and execute arbitrary commands when Subprocess SSH is used.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

bzr (Ubuntu package)
bzr (Alpine package)
Debian Linux
Ubuntu

How to mitigate CVE-2017-14176

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

bzr (Alpine package) - addressed in versions 2.7.0-r1, 2.7.0-r2

External References

Related Security Bulletins