Vulnerabilities in pkg:nuget/Microsoft.Bot.Connector

PACKAGE
Advisory Summary

GHSA-qxx8-292g-2w66 is a HIGH improper authentication vulnerability (CWE-287: Improper Authentication) affecting Microsoft.Bot.Connector libraries in the NuGet ecosystem. The issue involves improper authentication. Remediation is available by upgrading affected packages to version 4.6.4, 4.7.3, 4.8.2, 4.9.5, 4.10.3.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/Microsoft.Bot.Connector

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/Microsoft.Bot.Connector. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-qxx8-292g-2w66 - HIGH Improper Authentication

GHSA-qxx8-292g-2w66 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qxx8-292g-2w66
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Microsoft.Bot.Connector
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix GHSA-qxx8-292g-2w66

To remediate this vulnerability, upgrade all affected Microsoft.Bot.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.

Microsoft.Bot.Connector fixed: 4.6.4
Upgrade Microsoft.Bot.Connector to 4.6.4
Microsoft.Bot.Connector fixed: 4.7.3
Upgrade Microsoft.Bot.Connector to 4.7.3
Microsoft.Bot.Connector fixed: 4.8.2
Upgrade Microsoft.Bot.Connector to 4.8.2
Microsoft.Bot.Connector fixed: 4.9.5
Upgrade Microsoft.Bot.Connector to 4.9.5
Microsoft.Bot.Connector fixed: 4.10.3
Upgrade Microsoft.Bot.Connector to 4.10.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Microsoft.Bot.Connector

How to Check if You Are Affected

To determine whether your application is affected by GHSA-qxx8-292g-2w66, inspect your project dependencies for Microsoft.Bot.Connector:

inspect dependencies for Microsoft.Bot.Connector

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

Note: Verify declared build manifests and deployed runtime container environments.

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 Microsoft.Bot.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 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 appropriate 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 the 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/botbuilder-dotnet) * Email us at [bf-reports@microsoft.com](mailto:bf-reports@microsoft.com)

GHSA-qxx8-292g-2w66 Affected Microsoft.Bot.Connector Versions

5 component(s)
Fixed Versions:
4.6.44.7.34.8.24.9.54.10.3
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.Bot.Connector
NuGet
≥ 4.6.0
< 4.6.4
4.6.4
Microsoft.Bot.Connector
NuGet
≥ 4.7.0
< 4.7.3
4.7.3
Microsoft.Bot.Connector
NuGet
≥ 4.8.0
< 4.8.2
4.8.2
Microsoft.Bot.Connector
NuGet
≥ 4.9.0
< 4.9.5
4.9.5
Microsoft.Bot.Connector
NuGet
≥ 4.10.0
< 4.10.3
4.10.3

References

Frequently Asked Questions

What is GHSA-qxx8-292g-2w66?
GHSA-qxx8-292g-2w66 is a security vulnerability in Microsoft.Bot.Connector involving Improper Authentication under CWE-287: Improper Authentication.
Which Microsoft.Bot.Connector versions are affected?
Affected versions include releases prior to 4.6.4, 4.7.3, 4.8.2, 4.9.5, 4.10.3 across affected packages: Microsoft.Bot.Connector.
What version fixes GHSA-qxx8-292g-2w66?
Upgrading to 4.6.4, 4.7.3, 4.8.2, 4.9.5, 4.10.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.Bot.Connector affected?
Yes, Microsoft.Bot.Connector is affected in releases prior to 4.6.4, 4.7.3, 4.8.2, 4.9.5, 4.10.3. Upgrade your dependency to 4.6.4, 4.7.3, 4.8.2, 4.9.5, 4.10.3 or later.
What CWE is associated with GHSA-qxx8-292g-2w66?
GHSA-qxx8-292g-2w66 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 NuGet dependencies for GHSA-qxx8-292g-2w66?
Run the dependency tree command: 'inspect dependencies for Microsoft.Bot.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-qxx8-292g-2w66",
  "modified" : "2021-03-08T15:48:36Z",
  "published" : "2021-03-08T15:50:01Z",
  "aliases" : [ ],
  "summary" : "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 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 appropriate 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 the 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/botbuilder-dotnet)\n* Email us at [bf-reports@microsoft.com](mailto:bf-reports@microsoft.com)",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.Bot.Connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.6.0"
      }, {
        "fixed" : "4.6.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.Bot.Connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.7.0"
      }, {
        "fixed" : "4.7.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.Bot.Connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.8.0"
      }, {
        "fixed" : "4.8.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.Bot.Connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.9.0"
      }, {
        "fixed" : "4.9.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.Bot.Connector"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.10.0"
      }, {
        "fixed" : "4.10.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/microsoft/botbuilder-dotnet/security/advisories/GHSA-qxx8-292g-2w66"
  }, {
    "type" : "WEB",
    "url" : "https://aka.ms/SkillClaimsValidationDotnet"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/Microsoft.Bot.Connector"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-03-08T15:48:36Z",
    "nvd_published_at" : null
  }
}