botframework-connector vulnerable to Improper Authentication
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
- Email us at bf-reports@microsoft.com
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | botframework-connector | >= 4.7.0, < 4.7.3, >= 4.8.0, < 4.8.1, >= 4.9.0, < 4.9.4, >= 4.10.0, < 4.10.3 | 4.7.3, 4.8.1, 4.9.4, 4.10.3 |
| Python (PyPI) | botframework-connector | >= 4.7.0, < 4.7.2, >= 4.8.0, < 4.8.1, >= 4.9.0, < 4.9.3, >= 4.10.0, < 4.10.1 | 4.7.2, 4.8.1, 4.9.3, 4.10.1 |
References
- https://github.com/microsoft/botbuilder-js/security/advisories/GHSA-fvcj-hvfw-7f2v
- https://nvd.nist.gov/vuln/detail/CVE-2021-1725
- https://aka.ms/SkillClaimsValidationJavascript
- https://github.com/microsoft/botbuilder-js
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-1725
- https://www.npmjs.com/package/botframework-connector
- https://github.com/microsoft/botbuilder-python/security/advisories/GHSA-cqff-fx2x-p86v
- https://github.com/microsoft/botbuilder-python/blob/main/doc/SkillClaimsValidation.md
- https://github.com/pypa/advisory-database/tree/main/vulns/botframework-connector/PYSEC-2021-422.yaml
- https://pypi.org/project/botframework-connector
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-200, CWE-287- Platform
- npm, Python (PyPI)
- Package
botframework-connector- Disclosed
- 12.01.2021
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2021-422 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-fvcj-hvfw-7f2v - CC BY 4.0
OSV / GitHub Advisory Database - GHSA-cqff-fx2x-p86v - CC BY 4.0
Vulnerability history: botframework-connector
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.