Vulnerabilities in pkg:pypi/bzr
PACKAGECVE-2017-14176 is a HIGH (CVSS 8.8) bazaar allows remote attackers to vulnerability (General Security Weakness) affecting Bzr libraries in the PyPI ecosystem. The issue involves bazaar allows remote attackers to execute arbitrary commands via a bzr+ssh url with initial dash character in hostname. Remediation is available in the latest vendor maintenance releases.
pkg:pypi/bzr
Vulnerability advisories affecting package pkg:pypi/bzr. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jjxg-hpm7-g95f | CVE-2017-14176 | HIGH | Bazaar allows remote attackers to execute arbitrary commands via a bzr+ssh URL with initial dash character in hostname |
CVE-2017-14176 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-14176
To remediate this vulnerability, upgrade all affected Bzr dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install bzr>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show bzr
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2017-14176, inspect your installed packages using pip:
pip show bzr
Analyze the terminal output to locate any version of Bzr in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show bzr command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Bzr, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-14176 Affected Bzr Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
bzr
|
PyPI |
≤ 2.7.0
|
|
References
Frequently Asked Questions
What is CVE-2017-14176?
Which Bzr versions are affected?
What version fixes CVE-2017-14176?
Is bzr affected?
What is the CVSS score of CVE-2017-14176?
What CWE is associated with CVE-2017-14176?
How can I check PyPI dependencies for CVE-2017-14176?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jjxg-hpm7-g95f",
"modified" : "2026-05-29T22:19:41Z",
"published" : "2022-05-13T01:43:20Z",
"aliases" : [ "CVE-2017-14176" ],
"summary" : "Bazaar allows remote attackers to execute arbitrary commands via a bzr+ssh URL with initial dash character in hostname",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "bzr"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-14176"
}, {
"type" : "WEB",
"url" : "https://bugs.debian.org/874429"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/bzr/+bug/1710979"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1486685"
}, {
"type" : "WEB",
"url" : "https://bugzilla.suse.com/show_bug.cgi?id=1058214"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/bzr/PYSEC-2017-149.yaml"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2017/dsa-4052"
}, {
"type" : "WEB",
"url" : "http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-14176.html"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/usn-3411-1"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-29T22:19:41Z",
"nvd_published_at" : "2017-11-27T10:29:00Z"
}
}