Skip to content

Pip install - aiohttp CVE update (v3.7.4) is incompatible with botbuilder 4.12.0 modules #1621

Closed
@james-flynn-ie

Description

@james-flynn-ie

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

What package version of the SDK are you using: 4.12.0

Describe the bug

Dependabot recommends upgrading aiohttp>=3.7.4, due to a CVE security vulnerability (GHSA-v6wp-4m6f-gcjg), but this package version returns an incompatibility error when run with botbuilder modules. I've since had to revert the dependency upgrade.

When running pip install with the updated package version and botbuilder modules v4.12.0 (See https://github.com/james-flynn-ie/covid-bot/blob/main/requirements.txt for module list), it returns these errors:

ERROR: botbuilder-ai 4.12.0 has requirement aiohttp==3.6.2, but you'll have aiohttp 3.7.4 which is incompatible.
ERROR: botbuilder-integration-aiohttp 4.12.0 has requirement aiohttp==3.6.2, but you'll have aiohttp 3.7.4 which is incompatible.

To Reproduce

Steps to reproduce the behavior:

  1. Update aiohttp to 3.7.4 on any Python botbuilder project requirements.txt file (see https://github.com/james-flynn-ie/covid-bot/blob/main/requirements.txt for example)
  2. Run pip install -r requirements.txt
  3. Observe errors in console output.

Expected behavior

Errors are not displayed that aiohttp==3.6.2 is a requirement.
Pip install successfully installs all dependencies and Bot Framework Python SDK apps run as expected.

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.needs-triageThe issue has just been created and it has not been reviewed by the team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions