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_handlerskeyword argument toNet::IMAP.new(#419) so response handlers can be added before the server can send any responses, and themax_response_sizeconfig attribute (#444, GHSA-j3g3-5qv5-52mj, CVE-2025-43857, reported by @Masamuneee).Note
The default
max_response_sizeis 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-imapusers to configure their client appropriately for the server they are connecting to.Added
response_handlerskwarg toNet::IMAP.newby @nevans in ✨ Addresponse_handlerskwarg toNet::IMAP.new#419max_response_sizeby @nevans in ✨ Limitmax_response_size#444Documentation
Other Changes
Config.version_defaultscreation by @nevans in ♻️ ReorganizeConfig.version_defaultscreation #412Net::IMAP#get_response(internal) by @nevans in ♻️ RefactorNet::IMAP#get_response(internal) #422get_responseby @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