[openstreetmap/openstreetmap-website] Bump net-imap from 0.6.3 to 0.6.4 (PR #7057)

dependabot[bot] notifications at github.com
Mon May 4 22:08:58 UTC 2026


Bumps [net-imap](https://github.com/ruby/net-imap) from 0.6.3 to 0.6.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ruby/net-imap/releases">net-imap's releases</a>.</em></p>
<blockquote>
<h2>v0.6.4</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>🔒 Security</h3>
<p>This release contains fixes for <strong>multiple vulnerabilities</strong> concerning <em><strong><code>STARTTLS</code> stripping</strong></em>, argument validation, and denial of service attacks.</p>
<blockquote>
<p>[!WARNING]
<a href="https://redirect.github.com/ruby/net-imap/pull/664">ruby/net-imap#664</a> fixes a <code>STARTTLS</code> stripping vulnerability (GHSA-vcgp-9326-pqcp).
Without this fix, a man-in-the-middle attacker can cause <code>Net::IMAP#starttls</code> to return &quot;successfully&quot;, <strong><em>without starting TLS</em></strong>.</p>
</blockquote>
<blockquote>
<p>[!IMPORTANT]
Argument validation is significantly improved.  Several injection vulnerabilities have been fixed:
<a href="https://redirect.github.com/ruby/net-imap/pull/657">ruby/net-imap#657</a> fixes CRLF/command/argument injection via Symbol arguments (GHSA-75xq-5h9v-w6px).
<a href="https://redirect.github.com/ruby/net-imap/pull/658">ruby/net-imap#658</a> fixes CRLF/command/argument injection via the <code>attr</code> argument to <code>#store</code>/<code>#uid_store</code> (GHSA-hm49-wcqc-g2xg)
<a href="https://redirect.github.com/ruby/net-imap/pull/659">ruby/net-imap#659</a> fixes CRLF/command/argument injection via the <code>storage_limit</code> argument to <code>#setquota</code> (GHSA-hm49-wcqc-g2xg).
<a href="https://redirect.github.com/ruby/net-imap/pull/660">ruby/net-imap#660</a> fixes CRLF/command injection via <code>RawData</code> (GHSA-hm49-wcqc-g2xg):</p>
<ul>
<li><code>#search</code> and <code>#uid_search</code> send <code>criteria</code> as raw data, when it is a String</li>
<li><code>#fetch</code> and <code>#uid_fetch</code> send <code>attr</code> as raw data, when it is a String.
When <code>attr</code> is an Array, its String members are sent as raw data.</li>
</ul>
</blockquote>
<blockquote>
<p>[!CAUTION]
<code>RawData</code> does not defend against <em>other</em> forms of argument injection!  It is an intentionally low-level API.</p>
</blockquote>
<blockquote>
<p>[!NOTE]
Two denial of service vulnerabilities have been addressed.
These are generally only relevant when connecting to an <em>untrusted hostile server</em> (or without TLS).</p>
<p><a href="https://redirect.github.com/ruby/net-imap/pull/642">ruby/net-imap#642</a> fixes quadratic time complexity when reading large responses containing many string literals (GHSA-q2mw-fvj9-vvcw).
<a href="https://redirect.github.com/ruby/net-imap/pull/654">ruby/net-imap#654</a> adds a configurable <code>max_iterations</code> count for <code>SCRAM-*</code> authentication (GHSA-87pf-fpwv-p7m7).</p>
<p>The default <code>ScramAuthenticator#max_iterations</code> is <code>2**31 - 1</code> (max 32-bit signed int), which was already OpenSSL's maximum value.  <em>It provides no protection</em> against hostile servers unless it is explicitly set to a lower value by the user.</p>
</blockquote>
<h3>Breaking Changes</h3>
<ul>
<li>⚡ <code>ResponseReader</code> memoizes <code>Config#max_response_size</code> in <a href="https://redirect.github.com/ruby/net-imap/pull/642">ruby/net-imap#642</a>.
Changes to <code>#max_response_size</code> now take effect once per response, not on every <code>IO#read</code>.
<em>NOTE: It is not expected that this will affect any current usage.</em>  See <a href="https://redirect.github.com/ruby/net-imap/pull/642">the PR</a> for details.</li>
</ul>
<h3>Added</h3>
<ul>
<li>✨ Support <code>BINARY</code> extention to <code>#append</code> (RFC3516)  by <a href="https://github.com/nevans"><code>@​nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/616">ruby/net-imap#616</a></li>
<li>✨ Support <code>LITERAL+</code> and <code>LITERAL-</code> non-synchronizing literals (RFC7888) by <a href="https://github.com/nevans"><code>@​nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/649">ruby/net-imap#649</a></li>
<li>🔒 Add <code>ScramAuthenticator#max_iterations</code> by <a href="https://github.com/nevans"><code>@​nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/654">ruby/net-imap#654</a></li>
<li>🏷️ Add <code>number64</code> and <code>nz-number64</code> to NumValidator by <a href="https://github.com/nevans"><code>@​nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/625">ruby/net-imap#625</a></li>
<li>♻️ Add <code>MailboxQuota#quota_root</code> alias by <a href="https://github.com/nevans"><code>@​nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/636">ruby/net-imap#636</a></li>
<li>🔍 Simplify <code>Net::IMAP#inspect</code> with basic state by <a href="https://github.com/nevans"><code>@​nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/612">ruby/net-imap#612</a></li>
<li>🥅 Add <code>ResponseParseError#parser_methods</code> (and override <code>#==</code>) by <a href="https://github.com/nevans"><code>@​nevans</code></a> in <a href="https://redirect.github.com/ruby/net-imap/pull/615">ruby/net-imap#615</a></li>
</ul>
<h3>Fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ruby/net-imap/commit/3e490673dca65d0cfeeeb3fbf1fdaa188d6f27c4"><code>3e49067</code></a> 🔖 Bump version to 0.6.4</li>
<li><a href="https://github.com/ruby/net-imap/commit/0ede4c40b1523dfeaf95777b2678e54cc0fd9618"><code>0ede4c4</code></a> 🔀 Merge pull request <a href="https://redirect.github.com/ruby/net-imap/issues/664">#664</a> from ruby/security/STARTTLS-stripping</li>
<li><a href="https://github.com/ruby/net-imap/commit/51ae3604cabe1e8cfeeb888ff5ef6b9215fe1a65"><code>51ae360</code></a> ♻️ Add command response handler before command is sent</li>
<li><a href="https://github.com/ruby/net-imap/commit/24d5c773d1bb76ca1cd0a26b2218195011c16969"><code>24d5c77</code></a> 🔒🥅 Handle tagged &quot;OK&quot; to incomplete command</li>
<li><a href="https://github.com/ruby/net-imap/commit/62eea6ffe1e390060065169474f97edbc42bd2b2"><code>62eea6f</code></a> 🔒🥅 Ensure STARTTLS tagged response was handled</li>
<li><a href="https://github.com/ruby/net-imap/commit/46636cae8af68a4080c434b853fba1738c7c2587"><code>46636ca</code></a> ❌🔒 Add failing test for STARTTLS stripping</li>
<li><a href="https://github.com/ruby/net-imap/commit/e3b010509109eb4acc1d7e4365624e848ef0b45b"><code>e3b0105</code></a> ✅♻️ Inline current STARTLS stripping test</li>
<li><a href="https://github.com/ruby/net-imap/commit/be32e712eb2ee90a0a2c78752bf19196582ed4d8"><code>be32e71</code></a> 📚 Improve documentation of RawData arguments</li>
<li><a href="https://github.com/ruby/net-imap/commit/47c72186d272441878ca73c9499f66013829ca2f"><code>47c7218</code></a> 🐛 Validate RawData and wait to continue literals</li>
<li><a href="https://github.com/ruby/net-imap/commit/0ec4fd351263e8b9a4f683713427827b7b1ad974"><code>0ec4fd3</code></a> 🥅 Validate <code>#setquota</code> storage limit argument</li>
<li>Additional commits viewable in <a href="https://github.com/ruby/net-imap/compare/v0.6.3...v0.6.4">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=net-imap&package-manager=bundler&previous-version=0.6.3&new-version=0.6.4)](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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 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/openstreetmap/openstreetmap-website/network/alerts).

</details>
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7057

-- Commit Summary --

  * Bump net-imap from 0.6.3 to 0.6.4

-- File Changes --

    M Gemfile.lock (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7057.patchhttps://github.com/openstreetmap/openstreetmap-website/pull/7057.diff
-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7057
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7057 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260504/84395f33/attachment-0001.htm>


More information about the rails-dev mailing list