Vulnerabilities in pkg:pypi/botframework-connector

PACKAGE
Advisory Summary

GHSA-cqff-fx2x-p86v is a HIGH (CVSS 5.3) botframework-connector vulnerable to improper authentication vulnerability (CWE-287: Improper Authentication) affecting Botframework connector libraries in the PyPI ecosystem. The issue involves botframework-connector vulnerable to improper authentication. Remediation is available by upgrading affected packages to version 4.7.2, 4.8.1, 4.9.3, 4.10.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/botframework-connector

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/botframework-connector. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-cqff-fx2x-p86v - HIGH botframework-connector vulnerable to Improper Authentication

GHSA-cqff-fx2x-p86v at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-cqff-fx2x-p86v
Severity HIGH
CVSS v3.1 Base Score 5.3
CWE Classification CWE-287: Improper Authentication
Affected Product Botframework connector
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

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

How to Fix GHSA-cqff-fx2x-p86v

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

botframework-connector fixed: 4.7.2
pip install botframework-connector>=4.7.2
botframework-connector fixed: 4.8.1
pip install botframework-connector>=4.8.1
botframework-connector fixed: 4.9.3
pip install botframework-connector>=4.9.3
botframework-connector fixed: 4.10.1
pip install botframework-connector>=4.10.1
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 botframework-connector

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-cqff-fx2x-p86v, inspect your installed packages using pip:

pip show botframework-connector

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Botframework connector, 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

### Impact A maliciously crafted claim may be incorrectly authenticated by the bot. Impacts bots that are not configured to be used as a Skill. This vulnerability requires an attacker to have internal knowledge of the bot. ### Patches The problem has been patched in all affected versions. Please see the list of patched versions for the most appropiate one for your individual case. ### Workarounds Users who do not wish or are not able to upgrade can add an authentication configuration containing ClaimsValidator, which throws an exception if Claims are Skill Claims. For detailed instructions, see the link in the References section. ### For more information If you have any questions or comments about this advisory: * Open an issue in [Microsoft Bot Builder SDK](https://github.com/microsoft/botframework-sdk) * Email us at [bf-reports@microsoft.com](mailto:bf-reports@microsoft.com)

GHSA-cqff-fx2x-p86v Affected Botframework connector Versions

4 component(s)
Fixed Versions:
4.7.24.8.14.9.34.10.1
Product / Package Ecosystem Affected Versions Fixed Version
botframework-connector
PyPI
≥ 4.7.0
< 4.7.2
4.7.2
botframework-connector
PyPI
≥ 4.8.0
< 4.8.1
All 1 versions
4.8.0
4.8.1
botframework-connector
PyPI
≥ 4.9.0
< 4.9.3
4.9.3
botframework-connector
PyPI
≥ 4.10.0
< 4.10.1
All 1 versions
4.10.0
4.10.1

References

Frequently Asked Questions

What is GHSA-cqff-fx2x-p86v?
GHSA-cqff-fx2x-p86v is a security vulnerability in Botframework connector involving botframework-connector vulnerable to Improper Authentication under CWE-287: Improper Authentication.
Which Botframework connector versions are affected?
Affected versions include releases prior to 4.7.2, 4.8.1, 4.9.3, 4.10.1 across affected packages: botframework-connector.
What version fixes GHSA-cqff-fx2x-p86v?
Upgrading to 4.7.2, 4.8.1, 4.9.3, 4.10.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is botframework-connector affected?
Yes, botframework-connector is affected in releases prior to 4.7.2, 4.8.1, 4.9.3, 4.10.1. Upgrade your dependency to 4.7.2, 4.8.1, 4.9.3, 4.10.1 or later.
What is the CVSS score of GHSA-cqff-fx2x-p86v?
GHSA-cqff-fx2x-p86v has a CVSS v3.1 base score of 5.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N.
What CWE is associated with GHSA-cqff-fx2x-p86v?
GHSA-cqff-fx2x-p86v is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check PyPI dependencies for GHSA-cqff-fx2x-p86v?
Run the dependency tree command: 'pip show botframework-connector'. 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-cqff-fx2x-p86v",
  "modified" : "2024-09-13T15:07:22Z",
  "published" : "2021-03-08T15:50:10Z",
  "aliases" : [ ],
  "summary" : "botframework-connector vulnerable to Improper Authentication",
  "details" : "### Impact\nA maliciously crafted claim may be incorrectly authenticated by the bot. Impacts bots that are not configured to be used as a Skill. This vulnerability requires an attacker to have internal knowledge of the bot.\n\n### Patches\nThe problem has been patched in all affected versions. Please see the list of patched versions for the most appropiate one for your individual case.\n\n### Workarounds\nUsers who do not wish or are not able to upgrade can add an authentication configuration containing ClaimsValidator, which throws an exception if Claims are Skill Claims. \n\nFor detailed instructions, see the link in the References section.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Microsoft Bot Builder SDK](https://github.com/microsoft/botframework-sdk)\n* Email us at [bf-reports@microsoft.com](mailto:bf-reports@microsoft.com)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "botframework-connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.7.0"
      }, {
        "fixed" : "4.7.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "botframework-connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.8.0"
      }, {
        "fixed" : "4.8.1"
      } ]
    } ],
    "versions" : [ "4.8.0" ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "botframework-connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.9.0"
      }, {
        "fixed" : "4.9.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "botframework-connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.10.0"
      }, {
        "fixed" : "4.10.1"
      } ]
    } ],
    "versions" : [ "4.10.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/microsoft/botbuilder-python/security/advisories/GHSA-cqff-fx2x-p86v"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/microsoft/botbuilder-python/blob/main/doc/SkillClaimsValidation.md"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/botframework-connector/PYSEC-2021-422.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-1725"
  }, {
    "type" : "WEB",
    "url" : "https://pypi.org/project/botframework-connector"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-03-08T15:48:55Z",
    "nvd_published_at" : null
  }
}