-
Notifications
You must be signed in to change notification settings - Fork 0
Bump net-imap from 0.3.2 to 0.3.8 #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.3.2 to 0.3.8. - [Release notes](https://github.com/ruby/net-imap/releases) - [Commits](ruby/net-imap@v0.3.2...v0.3.8) --- updated-dependencies: - dependency-name: net-imap dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Owner
|
@dependabot merge
…On Mon, Feb 10, 2025 at 09:44 dependabot[bot] ***@***.***> wrote:
This automated pull request fixes a security vulnerability
<https://github.com/ggilder/log_to_gmail/security/dependabot/37>
(moderate severity).
Learn more about Dependabot security updates
<https://docs.github.com/github/managing-security-vulnerabilities/configuring-dependabot-security-updates>.
------------------------------
Bumps net-imap <https://github.com/ruby/net-imap> from 0.3.2 to 0.3.8.
Release notes
*Sourced from net-imap's releases
<https://github.com/ruby/net-imap/releases>.*
v0.3.8 What's Changed 🔒 Security Fix
Mitigates CVE-2025-25186
<https://github.com/advisories/GHSA-7fc5-f82f-cx69> (GHSA-7fc5-f82f-cx69
<https://github.com/advisories/GHSA-7fc5-f82f-cx69>): A malicious server
can exhaust client memory by sending APPENDUID or COPYUID responses with
very large uid-set ranges. Net::IMAP::UIDPlusData expands these ranges
into arrays of integers.
Fix with minor API changes
For v0.3.8, this option is not available. Upgrade to v0.4.19, v0.5.6, or
higher to replace UIDPlusData with AppendUIDData and CopyUIDData. These
classes store their UIDs as Net::IMAP::SequenceSet objects (*not*
expanded into arrays of integers).
Mitigate with backward compatible API
This release mitigates the attack by crashing if a server tries to send a
uid-set that represents more than 10,000 numbers. This should be larger
than almost all legitimate COPYUID or APPENDUID responses and would limit
the array to only 80KB (on a 64 bit system).
For v0.3.8, this option is not configurable. Upgrade to v0.4.19, v0.5.6,
or higher to configure this limit.
Please Note: unhandled responses
If the client does not add response handlers to prune unhandled responses,
a malicious server can still eventually exhaust all client memory, by
repeatedly sending malicious responses. However, net-imap has always
retained unhandled responses, and it has always been necessary for
long-lived connections to prune these responses. This is not significantly
different from connecting to a trusted server with a long-lived connection.
To limit the maximum number of retained responses, a simple handler might
look something like the following:
limit = 1000imap.add_response_handler do |resp|
name = resp.name
code = resp.data.code&.name if resp.data.in?(Net::IMAP::ResponseText)
# before 0.4.0:
imap.responses[name].slice!(0...-limit)
imap.responses[code].slice!(0...-limit)
# since 0.4.0:
imap.responses(name) { _1.slice!(0...-limit) }
imap.responses(code) { _1.slice!(0...-limit) }end
Miscellaneous
- ✅ Renew test certificates for CI by @sorah
<https://github.com/sorah> in ruby/net-imap#259
<https://redirect.github.com/ruby/net-imap/pull/259>
*Full Changelog*: ***@***.***
<ruby/net-imap@v0.3.7...v0.3.8>
v0.3.7 What's Changed
- 🔒️ Backport: Fix for Digest MD5 bad challenges by @nobu
<https://github.com/nobu> in ruby/net-imap#160
<https://redirect.github.com/ruby/net-imap/pull/160>
- PR for backport is ruby/net-imap#161
<https://redirect.github.com/ruby/net-imap/pull/161>
*Full Changelog*: ***@***.***
<ruby/net-imap@v0.3.6...v0.3.7>
v0.3.6
- 🐛 Fixes file permissions regression in v0.3.5 release
<https://github.com/ruby/net-imap/releases/tag/v0.3.5>, reported by
@aaronjensen <https://github.com/aaronjensen> in #154
<https://redirect.github.com/ruby/net-imap/issues/154>
v0.3.5
*Full Changelog*: ***@***.***
<ruby/net-imap@v0.3.4...v0.3.5>
- 📚 Fix #response documentation error, by @nevans
<https://github.com/nevans> in ***@***.***
<ruby/net-imap@87ba74e>
... (truncated)
Commits
- 38ce681
<ruby/net-imap@38ce681>
🔖 Bump version to 0.3.8
- cb92191
<ruby/net-imap@cb92191>
Merge commit from fork
- 524f2a8
<ruby/net-imap@524f2a8>
Renew test certificates
- 0dbb8eb
<ruby/net-imap@0dbb8eb>
🔒 Prevent runaway memory use when parsing uid-set
- 4681194
<ruby/net-imap@4681194>
🏷️ Bump version to 0.3.7
- 8159e82
<ruby/net-imap@8159e82>
🔀 Merge pull request #161
<https://redirect.github.com/ruby/net-imap/issues/161> from
ruby/backport-digest_md5-bad-challenge
- bd68174
<ruby/net-imap@bd68174>
✅ Mark assert_linear_performance test as pending
- c92ed92
<ruby/net-imap@c92ed92>
Remove nested quantifier
- 2a85ac1
<ruby/net-imap@2a85ac1>
Fix NoMethodError when "qop" is not present
- 63ebe2f
<ruby/net-imap@63ebe2f>
Add test for bad challenge
- Additional commits viewable in compare view
<ruby/net-imap@v0.3.2...v0.3.8>
[image: Dependabot compatibility score]
<https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores>
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting @dependabot
rebase.
------------------------------
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- @dependabot rebase will rebase this PR
- @dependabot recreate will recreate this PR, overwriting any edits
that have been made to it
- @dependabot merge will merge this PR after your CI passes on it
- @dependabot squash and merge will squash and merge this PR after
your CI passes on it
- @dependabot cancel merge will cancel a previously requested merge
and block automerging
- @dependabot reopen will reopen this PR if it is closed
- @dependabot close will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- @dependabot show <dependency name> ignore conditions will show all
of the ignore conditions of the specified dependency
- @dependabot ignore this major version will close this PR and stop
Dependabot creating any more for this major version (unless you reopen the
PR or upgrade to it yourself)
- @dependabot ignore this minor version will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen the
PR or upgrade to it yourself)
- @dependabot ignore this dependency will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the PR
or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security
Alerts page <https://github.com/ggilder/log_to_gmail/network/alerts>.
------------------------------
You can view, comment on, or merge this pull request online at:
#24
Commit Summary
- c307b5d
<c307b5d>
Bump net-imap from 0.3.2 to 0.3.8
File Changes
(1 file <https://github.com/ggilder/log_to_gmail/pull/24/files>)
- *M* Gemfile.lock
<https://github.com/ggilder/log_to_gmail/pull/24/files#diff-89cade48462044ee1b672dc5f4c3ec250fbd29effcd8932096a23c1283c6731f>
(8)
Patch Links:
- https://github.com/ggilder/log_to_gmail/pull/24.patch
- https://github.com/ggilder/log_to_gmail/pull/24.diff
—
Reply to this email directly, view it on GitHub
<#24>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACQ4GKITBT4KSJP73OXP3T2PDQRBAVCNFSM6AAAAABW3FBUDGVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2DGMJYGM2TQMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps net-imap from 0.3.2 to 0.3.8.
Release notes
Sourced from net-imap's releases.
... (truncated)
Commits
38ce681🔖 Bump version to 0.3.8cb92191Merge commit from fork524f2a8Renew test certificates0dbb8eb🔒 Prevent runaway memory use when parsing uid-set4681194🏷️ Bump version to 0.3.78159e82🔀 Merge pull request #161 from ruby/backport-digest_md5-bad-challengebd68174✅ Mark assert_linear_performance test as pendingc92ed92Remove nested quantifier2a85ac1FixNoMethodErrorwhen "qop" is not present63ebe2fAdd test for bad challengeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot will merge this PR once CI passes on it, as requested by @ggilder.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.