Skip to content

[Snyk] Security upgrade aiohttp from 3.10.11 to 3.14.1#33

Open
bkizer-tenable wants to merge 1 commit into
mainfrom
snyk-fix-b6523be69715bac59d8b2299a164b9a4
Open

[Snyk] Security upgrade aiohttp from 3.10.11 to 3.14.1#33
bkizer-tenable wants to merge 1 commit into
mainfrom
snyk-fix-b6523be69715bac59d8b2299a164b9a4

Conversation

@bkizer-tenable

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 4 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • tools/python/requirements.txt
⚠️ Warning
openai 0.27.8 requires aiohttp, which is not installed.

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Allocation of Resources Without Limits or Throttling

@bkizer-tenable

Copy link
Copy Markdown
Author

Merge Risk: Medium

This minor version upgrade of aiohttp introduces several behavioral changes and internal API removals that require verification.

Key Changes:

  • Stricter Header & Request Parsing: The HTTP parser is now stricter across several versions in this range. It now rejects HTTP/1.1 requests without a valid Host header, and the C parser rejects responses with a body when none is expected. This may cause previously accepted but non-compliant requests to fail. [1]
  • Blocking Fallback Removed: In v3.13.0, the library removed a fallback that used socket.getfqdn() to determine the host. This was done to prevent the event loop from stalling on slow reverse DNS lookups. Applications improperly relying on this behavior for requests without a Host header may be affected. [1, 4]
  • Internal API Removal: Version 3.14.0 removed aiohttp.streams.AsyncStreamReaderMixin. While an internal API, this has been reported to break third-party libraries that depend on it, such as older versions of vcrpy. [7]
  • Deprecations: The auth and proxy_auth parameters are now deprecated in favor of a new helper function for future removal in v4.0. [1, 4]

Recommendation:
This upgrade is assessed as medium risk. While many changes are bug fixes or performance improvements, the stricter parsing and internal API removals could impact application stability. It is important to verify that your application and its dependencies (especially those that patch or interact with aiohttp internals like vcrpy) are compatible with these changes. Thorough testing of request/response handling is recommended.

Source: aiohttp Changelog

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants