Skip to content

botframework-connector vulnerable to Improper Authentication

Moderate severity GitHub Reviewed Published Feb 22, 2021 in microsoft/botbuilder-js • Updated Jan 11, 2024

Package

npm botframework-connector (npm)

Affected versions

>= 4.7.0, < 4.7.3
= 4.8.0
>= 4.9.0, < 4.9.4
>= 4.10.0, < 4.10.3

Patched versions

4.7.3
4.8.1
4.9.4
4.10.3

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:

References

Published by the National Vulnerability Database Jan 12, 2021
@mrivera-ms mrivera-ms published to microsoft/botbuilder-js Feb 22, 2021
Reviewed Mar 8, 2021
Published to the GitHub Advisory Database Mar 8, 2021
Last updated Jan 11, 2024

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

EPSS score

0.043%
(11th percentile)

CVE ID

CVE-2021-1725

GHSA ID

GHSA-fvcj-hvfw-7f2v
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.