CVE-2017-1000007: Txaws TxAWS AWSServiceEndpoint Defaults To Not Vulnerability

HIGH
Advisory Identifier: GHSA-cggm-52qp-wvw7
CVSS 5.9
CWE-200
Published
Advisory Summary

CVE-2017-1000007 is a HIGH (CVSS 5.9) txaws awsserviceendpoint defaults to not vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Txaws libraries in the PyPI ecosystem. The issue involves txaws awsserviceendpoint defaults to not verifying server certificates. Remediation is available by upgrading affected packages to version 0.4.0.

CVE-2017-1000007 at a Glance

CVE Identifier CVE-2017-1000007
GHSA Identifier GHSA-cggm-52qp-wvw7
Severity HIGH
CVSS v3.1 Base Score 5.9
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Txaws
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.9

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

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

How to Fix CVE-2017-1000007

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

txaws fixed: 0.4.0
pip install txaws>=0.4.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 txaws

How to Check if You Are Affected

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

pip show txaws

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Txaws, 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

txAWS fails to perform complete certificate verification resulting in vulnerability to MitM attacks and information disclosure.

CVE-2017-1000007 Affected Txaws Versions

1 component(s)
Fixed Versions:
0.4.0
Product / Package Ecosystem Affected Versions Fixed Version
txaws
PyPI
< 0.4.0
0.4.0

References

Frequently Asked Questions

What is CVE-2017-1000007?
CVE-2017-1000007 is a security vulnerability in Txaws involving txAWS AWSServiceEndpoint defaults to not verifying server certificates under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Txaws versions are affected?
Affected versions include releases prior to 0.4.0 across affected packages: txaws.
What version fixes CVE-2017-1000007?
Upgrading to 0.4.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is txaws affected?
Yes, txaws is affected in releases prior to 0.4.0. Upgrade your dependency to 0.4.0 or later.
What is the CVSS score of CVE-2017-1000007?
CVE-2017-1000007 has a CVSS v3.1 base score of 5.9 (HIGH) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2017-1000007?
CVE-2017-1000007 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2017-1000007?
Run the dependency tree command: 'pip show txaws'. 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-cggm-52qp-wvw7",
  "modified" : "2024-11-18T22:57:43Z",
  "published" : "2022-05-17T02:20:12Z",
  "aliases" : [ "CVE-2017-1000007" ],
  "summary" : "txAWS AWSServiceEndpoint defaults to not verifying server certificates",
  "details" : "txAWS fails to perform complete certificate verification resulting in vulnerability to MitM attacks and information disclosure.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "txaws"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.4.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000007"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/twisted/txaws/issues/24"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/twisted/txaws/pull/26"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/twisted/txaws/commit/46b66c3dc315de7b5896d60531311ec9658bc466"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/txaws/PYSEC-2017-85.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/twisted/txaws"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-23T20:56:41Z",
    "nvd_published_at" : "2017-07-17T13:18:00Z"
  }
}