Skip to content

Bump net-imap from 0.6.3 to 0.6.4#2747

Merged
alice-carr merged 1 commit into
mainfrom
dependabot/bundler/net-imap-0.6.4
May 5, 2026
Merged

Bump net-imap from 0.6.3 to 0.6.4#2747
alice-carr merged 1 commit into
mainfrom
dependabot/bundler/net-imap-0.6.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps net-imap from 0.6.3 to 0.6.4.

Release notes

Sourced from net-imap's releases.

v0.6.4

What's Changed

🔒 Security

This release contains fixes for multiple vulnerabilities concerning STARTTLS stripping, argument validation, and denial of service attacks.

[!WARNING] ruby/net-imap#664 fixes a STARTTLS stripping vulnerability (GHSA-vcgp-9326-pqcp). Without this fix, a man-in-the-middle attacker can cause Net::IMAP#starttls to return "successfully", without starting TLS.

[!IMPORTANT] Argument validation is significantly improved. Several injection vulnerabilities have been fixed: ruby/net-imap#657 fixes CRLF/command/argument injection via Symbol arguments (GHSA-75xq-5h9v-w6px). ruby/net-imap#658 fixes CRLF/command/argument injection via the attr argument to #store/#uid_store (GHSA-hm49-wcqc-g2xg) ruby/net-imap#659 fixes CRLF/command/argument injection via the storage_limit argument to #setquota (GHSA-hm49-wcqc-g2xg). ruby/net-imap#660 fixes CRLF/command injection via RawData (GHSA-hm49-wcqc-g2xg):

  • #search and #uid_search send criteria as raw data, when it is a String
  • #fetch and #uid_fetch send attr as raw data, when it is a String. When attr is an Array, its String members are sent as raw data.

[!CAUTION] RawData does not defend against other forms of argument injection! It is an intentionally low-level API.

[!NOTE] Two denial of service vulnerabilities have been addressed. These are generally only relevant when connecting to an untrusted hostile server (or without TLS).

ruby/net-imap#642 fixes quadratic time complexity when reading large responses containing many string literals (GHSA-q2mw-fvj9-vvcw). ruby/net-imap#654 adds a configurable max_iterations count for SCRAM-* authentication (GHSA-87pf-fpwv-p7m7).

The default ScramAuthenticator#max_iterations is 2**31 - 1 (max 32-bit signed int), which was already OpenSSL's maximum value. It provides no protection against hostile servers unless it is explicitly set to a lower value by the user.

Breaking Changes

  • ResponseReader memoizes Config#max_response_size in ruby/net-imap#642. Changes to #max_response_size now take effect once per response, not on every IO#read. NOTE: It is not expected that this will affect any current usage. See the PR for details.

Added

Fixed

... (truncated)

Commits
  • 3e49067 🔖 Bump version to 0.6.4
  • 0ede4c4 🔀 Merge pull request #664 from ruby/security/STARTTLS-stripping
  • 51ae360 ♻️ Add command response handler before command is sent
  • 24d5c77 🔒🥅 Handle tagged "OK" to incomplete command
  • 62eea6f 🔒🥅 Ensure STARTTLS tagged response was handled
  • 46636ca ❌🔒 Add failing test for STARTTLS stripping
  • e3b0105 ✅♻️ Inline current STARTLS stripping test
  • be32e71 📚 Improve documentation of RawData arguments
  • 47c7218 🐛 Validate RawData and wait to continue literals
  • 0ec4fd3 🥅 Validate #setquota storage limit argument
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 4, 2026
@alice-carr
Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [net-imap](https://github.com/ruby/net-imap) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](ruby/net-imap@v0.6.3...v0.6.4)

---
updated-dependencies:
- dependency-name: net-imap
  dependency-version: 0.6.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/net-imap-0.6.4 branch from 63a77d6 to 781a2ef Compare May 5, 2026 12:32
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-2747.admin.review.forms.service.gov.uk/

It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready
after 5 minutes, there may be something wrong with the ECS task. You will need to go to the integration AWS account
to debug, or otherwise ask an infrastructure person.

For the sign in details and more information, see the review apps wiki page.

@alice-carr alice-carr added this pull request to the merge queue May 5, 2026
Merged via the queue into main with commit ac18d76 May 5, 2026
4 checks passed
@alice-carr alice-carr deleted the dependabot/bundler/net-imap-0.6.4 branch May 5, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant