v0.5.7 #448
nevans
announced in
Announcements
v0.5.7
#448
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
🔒 Security
This release adds two features to prevent unbounded memory use: the
response_handlers
keyword argument toNet::IMAP.new
(#419) so response handlers can be added before the server can send any responses, and themax_response_size
config attribute (#444, GHSA-j3g3-5qv5-52mj, CVE-2025-43857, reported by @Masamuneee).Note
The default
max_response_size
is extremely high, to avoid issues with secure connections to trusted servers that are well-behaved. It can be configured more conservatively to guard against untrusted servers (for example, connecting to user-provided hostnames). It is the responsibility ofnet-imap
users to configure their client appropriately for the server they are connecting to.Added
response_handlers
kwarg toNet::IMAP.new
by @nevans in ✨ Addresponse_handlers
kwarg toNet::IMAP.new
#419max_response_size
by @nevans in ✨ Limitmax_response_size
#444Documentation
Other Changes
Config.version_defaults
creation by @nevans in ♻️ ReorganizeConfig.version_defaults
creation #412Net::IMAP#get_response
(internal) by @nevans in ♻️ RefactorNet::IMAP#get_response
(internal) #422get_response
by @nevans in ♻️ Extract ResponseReader fromget_response
#433Miscellaneous
Full Changelog: v0.5.6...v0.5.7
This discussion was created from the release v0.5.7.
Beta Was this translation helpful? Give feedback.
All reactions