Description
Bazaar through 2.7.0, when Subprocess SSH is used, allows remote attackers to execute arbitrary commands via a bzr+ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-16228, CVE-2017-1000116, and CVE-2017-1000117.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Bazaar through 2.7.0 | Bazaar through 2.7.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | breezy | 3.0.0~bzr6772-1 | — |
| Debian 13 | breezy | 3.0.0~bzr6772-1 | — |
| Debian 13 | bzr | 2.7.0+bzr6622-7 | — |
| Debian 12 | breezy | 3.0.0~bzr6772-1 | — |
| Debian 12 | bzr | 2.7.0+bzr6622-7 | — |
| Debian 9 | bzr | 2.7.0+bzr6619-7+deb9u1 | DSA-4052-1 |
| Debian 8 | bzr | 2.6.0+bzr6595-6+deb8u1 | DSA-4052-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | bzr | 2.6.0~bzr6526-1+deb7u1 | DLA-1107-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | bzr | 2.7.0-2ubuntu3.1 | — |
| Ubuntu 14.04 LTS | bzr | 2.6.0+bzr6593-1ubuntu1.6 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | bzr | 1.8-3.5.1 | SUSE-SU-2018:1489-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | bzr | <= 2.7.0 | — | GHSA-jjxg-hpm7-g95f |
| PyPI | bzr | — | — | PYSEC-2017-149 |
Advisories 3
- DSA-4052-1 bzr - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1107-1 bzr - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2018:1489-1 Security update for bzr SUSE / openSUSE Security Updates · Feb 4, 2026
References
- DSA-4052 vendor-advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1058214
- http://www.ubuntu.com/usn/usn-3411-1
- https://bugs.debian.org/874429
- http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-14176.html
- https://bugs.launchpad.net/bzr/+bug/1710979
- https://bugzilla.redhat.com/show_bug.cgi?id=1486685