Vulnerabilities in pkg:npm/botframework-connector
PACKAGECVE-2021-1725 is a MODERATE (CVSS 5.5) botframework-connector vulnerable to improper authentication vulnerability (CWE-287: Improper Authentication) affecting Botframework connector libraries in the npm ecosystem. The issue involves botframework-connector vulnerable to improper authentication. Remediation is available by upgrading affected packages to version 4.7.3, 4.8.1, 4.9.4, 4.10.3.
pkg:npm/botframework-connector
Vulnerability advisories affecting package pkg:npm/botframework-connector. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-fvcj-hvfw-7f2v | CVE-2021-1725 | MODERATE | botframework-connector vulnerable to Improper Authentication |
CVE-2021-1725 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2021-1725
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.
npm install botframework-connector@4.7.3
npm install botframework-connector@4.8.1
npm install botframework-connector@4.9.4
npm install botframework-connector@4.10.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls botframework-connector
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2021-1725, inspect your project dependencies using npm:
npm ls 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.3), your application is affected.
Note: The npm ls botframework-connector command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
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
CVE-2021-1725 Affected Botframework connector Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
botframework-connector
|
npm |
≥ 4.7.0
< 4.7.3
|
4.7.3
|
|
botframework-connector
|
npm |
≥ 4.8.0
< 4.8.1
All 1 versions
4.8.0
|
4.8.1
|
|
botframework-connector
|
npm |
≥ 4.9.0
< 4.9.4
|
4.9.4
|
|
botframework-connector
|
npm |
≥ 4.10.0
< 4.10.3
|
4.10.3
|
References
Frequently Asked Questions
What is CVE-2021-1725?
Which Botframework connector versions are affected?
What version fixes CVE-2021-1725?
Is botframework-connector affected?
What is the CVSS score of CVE-2021-1725?
What CWE is associated with CVE-2021-1725?
How can I check npm dependencies for CVE-2021-1725?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fvcj-hvfw-7f2v",
"modified" : "2024-01-02T15:05:56Z",
"published" : "2021-03-08T15:49:53Z",
"aliases" : [ "CVE-2021-1725" ],
"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 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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "botframework-connector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.7.0"
}, {
"fixed" : "4.7.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "botframework-connector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.8.0"
}, {
"fixed" : "4.8.1"
} ]
} ],
"versions" : [ "4.8.0" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "botframework-connector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.9.0"
}, {
"fixed" : "4.9.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "botframework-connector"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.10.0"
}, {
"fixed" : "4.10.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/microsoft/botbuilder-js/security/advisories/GHSA-fvcj-hvfw-7f2v"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-1725"
}, {
"type" : "WEB",
"url" : "https://aka.ms/SkillClaimsValidationJavascript"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/microsoft/botbuilder-js"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-1725"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/package/botframework-connector"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-287" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-03-08T15:47:09Z",
"nvd_published_at" : "2021-01-12T20:15:00Z"
}
}