Vulnerabilities in pkg:pypi/bzr

PACKAGE
Advisory Identifier: GHSA-jjxg-hpm7-g95f
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/bzr

1 Known Advisory Record(s)

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

CVE Identifier CVE-2017-14176
GHSA Identifier GHSA-jjxg-hpm7-g95f
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification General Security Weakness
Affected Product Bzr
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

bzr fixed: Latest secure release
pip install bzr>=Latest secure release
Verify Direct and Transitive Dependencies

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

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.

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?
CVE-2017-14176 is a security vulnerability in Bzr involving Bazaar allows remote attackers to execute arbitrary commands via a bzr+ssh URL with initial dash character in hostname under General Security Weakness.
Which Bzr versions are affected?
Affected versions include releases prior to current release patches across affected packages: bzr.
What version fixes CVE-2017-14176?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is bzr affected?
Yes, bzr is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2017-14176?
CVE-2017-14176 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2017-14176?
CVE-2017-14176 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2017-14176?
Run the dependency tree command: 'pip show bzr'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}