CVE-2013-1909: Qpid python Improper Certificate Validation Vulnerability

HIGH
Advisory Identifier: GHSA-3g2p-7c6p-vj8c
CVSS 7.5
CWE-20
Published
Advisory Summary

CVE-2013-1909 is a HIGH (CVSS 7.5) improper certificate validation vulnerability (CWE-20: Improper Input Validation) affecting Qpid python libraries in the PyPI ecosystem. The issue involves apache qpid python client improper certificate validation. Remediation is available by upgrading affected packages to version 0.22.

CVE-2013-1909 at a Glance

CVE Identifier CVE-2013-1909
GHSA Identifier GHSA-3g2p-7c6p-vj8c
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Qpid python
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-1909

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

qpid-python fixed: 0.22
pip install qpid-python>=0.22
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 qpid-python

How to Check if You Are Affected

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

pip show qpid-python

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

Note: The pip show qpid-python 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 Qpid python, 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

The Python client in Apache Qpid before 2.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.

CVE-2013-1909 Affected Qpid python Versions

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

References

Frequently Asked Questions

What is CVE-2013-1909?
CVE-2013-1909 is a security vulnerability in Qpid python involving Apache Qpid Python client Improper certificate validation under CWE-20: Improper Input Validation.
Which Qpid python versions are affected?
Affected versions include releases prior to 0.22 across affected packages: qpid-python.
What version fixes CVE-2013-1909?
Upgrading to 0.22 (or the latest patched release for your respective branch) resolves the vulnerability.
Is qpid-python affected?
Yes, qpid-python is affected in releases prior to 0.22. Upgrade your dependency to 0.22 or later.
What is the CVSS score of CVE-2013-1909?
CVE-2013-1909 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-1909?
CVE-2013-1909 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-1909?
Run the dependency tree command: 'pip show qpid-python'. 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-3g2p-7c6p-vj8c",
  "modified" : "2024-10-25T21:06:37Z",
  "published" : "2022-05-13T01:08:41Z",
  "aliases" : [ "CVE-2013-1909" ],
  "summary" : "Apache Qpid Python client Improper certificate validation",
  "details" : "The Python client in Apache Qpid before 2.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid 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" : "qpid-python"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.22"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-1909"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/qpid-python/commit/7d8f51791c4949404d78f1083f465b7b4c8e954b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/qpid-python"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/qpid-python/PYSEC-2013-25.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/QPID-4918"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20140722191407/http://secunia.com/advisories/53968"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20140722194233/http://secunia.com/advisories/54137"
  }, {
    "type" : "WEB",
    "url" : "http://qpid.apache.org/releases/qpid-0.22/release-notes.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-1024.html"
  }, {
    "type" : "WEB",
    "url" : "http://svn.apache.org/viewvc?view=revision&revision=1460013"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-29T11:05:29Z",
    "nvd_published_at" : "2013-08-23T16:55:00Z"
  }
}