gems net-imap 0.6.4.1
v0.6.4.1

latest release: 0.5.15
5 hours ago

What's Changed

๐Ÿ”’ Security

This release fixes several more security vulnerabilities which are related to the fixes in v0.6.4. Please see the linked security advisories for more information.

  • (moderate) Command Injection via non-synchronizing literal in "raw" argument (CVE-2026-47240, GHSA-8p34-64r3-mwg8)
    This vulnerability depends how the server interprets non-synchronizing literals.
    The connection is not vulnerable if the server supports non-synchronizing literals.
    • ๐Ÿฅ… Validate non-synchronizing literals support by @nevans in #701
  • (moderate) Command Injection via unvalidated ID and ENABLE arguments (CVE-2026-47242, GHSA-46q3-7gv7-qmgg)
    • ๐Ÿฅ… Validate ID values contain only valid bytes by @nevans in #698
    • ๐Ÿฅ… Validate #enable arguments are all atoms by @nevans in #699
      NOTE: #enable should never be called with untrusted input.
  • (low) Denial of Service via incomplete "raw" argument validation (CVE-2026-47241, GHSA-c4fp-cxrr-mj66)
    This results in the affected command hanging until the connection is closed. If another thread attempts to send a concurrent pipelined command, the first thread will return with a syntax error and the second thread will hang until the connection closes.
    • Reported by @fg0x0
    • ๐Ÿ› Prevent trailing {0} in RawData validation by @nevans in #700

Added

  • ๐Ÿ” Add more detail to Net::IMAP#inspect TLS info by @nevans in #674

Fixed

  • ๐Ÿ”ง Disallow config.max_non_synchronizing_literal = nil by @nevans in #672
  • ๐Ÿงต Fix deadlock in #disconnect by @nevans in #686
  • ๐Ÿฅ… Validate that Atom and Flag are not empty by @nevans in #684

Documentation

  • โš ๏ธ Boost visibility of raw data argument documentation warnings by @nevans in #677

Other Changes

  • ๐Ÿท๏ธ Allow 64-bit Integer arguments by @nevans in #675
  • ๐Ÿฅ… Ensure send_number_data input is an Integer by @nevans in #676
  • โ™ป๏ธ Improve RawData.new, Add RawData.split by @nevans in #679
  • ๐Ÿท๏ธ Less strict number string coercion, to match RFCs by @nevans in #680
  • ๐Ÿฅ… Validate response literal byte size format by @nevans in #681

Miscellaneous

  • โฌ†๏ธ Bump step-security/harden-runner from 2.19.0 to 2.19.1 by @dependabot[bot] in #673
  • โœ… Improvements to tests' FakeServer by @nevans in #678
  • โฌ†๏ธ Bump step-security/harden-runner from 2.19.1 to 2.19.3 by @dependabot[bot] in #682
  • โฌ†๏ธ Bump step-security/harden-runner from 2.19.3 to 2.19.4 by @dependabot[bot] in #683

Full Changelog: v0.6.4...v0.6.4.1

Don't miss a new net-imap release

NewReleases is sending notifications on new releases.