CVE-2013-2191: Python bugzilla Python-bugzilla Has Improper Validation Of Vulnerability

HIGH
Advisory Identifier: GHSA-2q4h-27m7-rj67
CVSS 7.5
CWE-20
Published
Advisory Summary

CVE-2013-2191 is a HIGH (CVSS 7.5) python-bugzilla has improper validation of vulnerability (CWE-20: Improper Input Validation) affecting Python bugzilla libraries in the PyPI ecosystem. The issue involves python-bugzilla has improper validation of x.509 certificates. Remediation is available by upgrading affected packages to version 0.9.0.

CVE-2013-2191 at a Glance

CVE Identifier CVE-2013-2191
GHSA Identifier GHSA-2q4h-27m7-rj67
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Python bugzilla
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2013-2191

To remediate this vulnerability, upgrade all affected Python bugzilla dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

python-bugzilla fixed: 0.9.0
pip install python-bugzilla>=0.9.0
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 python-bugzilla

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2013-2191, inspect your installed packages using pip:

pip show python-bugzilla

Analyze the terminal output to locate any version of Python bugzilla in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.0), your application is affected.

Note: The pip show python-bugzilla command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Python bugzilla, 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

python-bugzilla before 0.9.0 does not validate X.509 certificates, which allows man-in-the-middle attackers to spoof Bugzilla servers via a crafted certificate.

CVE-2013-2191 Affected Python bugzilla Versions

1 component(s)
Fixed Versions:
0.9.0
Product / Package Ecosystem Affected Versions Fixed Version
python-bugzilla
PyPI
< 0.9.0
0.9.0

References

Frequently Asked Questions

What is CVE-2013-2191?
CVE-2013-2191 is a security vulnerability in Python bugzilla involving python-bugzilla has improper validation of X.509 certificates under CWE-20: Improper Input Validation.
Which Python bugzilla versions are affected?
Affected versions include releases prior to 0.9.0 across affected packages: python-bugzilla.
What version fixes CVE-2013-2191?
Upgrading to 0.9.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is python-bugzilla affected?
Yes, python-bugzilla is affected in releases prior to 0.9.0. Upgrade your dependency to 0.9.0 or later.
What is the CVSS score of CVE-2013-2191?
CVE-2013-2191 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2013-2191?
CVE-2013-2191 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check PyPI dependencies for CVE-2013-2191?
Run the dependency tree command: 'pip show python-bugzilla'. 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-2q4h-27m7-rj67",
  "modified" : "2024-10-25T20:45:22Z",
  "published" : "2022-05-14T02:10:10Z",
  "aliases" : [ "CVE-2013-2191" ],
  "summary" : "python-bugzilla has improper validation of X.509 certificates",
  "details" : "python-bugzilla before 0.9.0 does not validate X.509 certificates, which allows man-in-the-middle attackers to spoof Bugzilla servers via a crafted certificate.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "python-bugzilla"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-2191"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/python-bugzilla/python-bugzilla/commit/a782282ee479ba4cc1b8b1d89700ac630ba83eef"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=951594"
  }, {
    "type" : "WEB",
    "url" : "https://git.fedorahosted.org/cgit/python-bugzilla.git/commit/?id=a782282ee479ba4cc1b8b1d89700ac630ba83eef"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/python-bugzilla/PYSEC-2014-88.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/python-bugzilla/python-bugzilla"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedorahosted.org/pipermail/python-bugzilla/2013-June/000104.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2013-07/msg00025.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2013-07/msg00026.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/06/19/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-29T14:47:01Z",
    "nvd_published_at" : "2014-02-08T00:55:00Z"
  }
}