microsoft/botbuilder-js · Security
botframework-connector vulnerable to Improper Authentication
- GHSA ID
- GHSA-fvcj-hvfw-7f2v
- CVE ID
- CVE-2021-1725
- Severity
- medium
- Published
- Updated
- CVSS
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Description
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 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
- Email us at [email protected]
CWEs
- CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
- CWE-287 · Improper Authentication
References
- https://github.com/microsoft/botbuilder-js/security/advisories/GHSA-fvcj-hvfw-7f2v ↗
- https://aka.ms/SkillClaimsValidationJavascript ↗
- https://www.npmjs.com/package/botframework-connector ↗
- https://nvd.nist.gov/vuln/detail/CVE-2021-1725 ↗
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-1725 ↗
- https://github.com/advisories/GHSA-fvcj-hvfw-7f2v ↗