gems net-imap 0.5.15
v0.5.15

6 hours ago

What's Changed

๐Ÿ”’ Security

This release fixes several more security vulnerabilities which are related to the fixes in v0.5.14. 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 #703 (backports #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 #703 (backports #698)
    • ๐Ÿฅ… Validate #enable arguments are all atoms by @nevans in #703 (backport #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 #703 (backports #700)

Fixed

  • ๐Ÿฅ… Validate that Atom and Flag are not empty by @nevans in #685 (backports #684)
  • ๐Ÿงต Fix deadlock in #disconnect by @nevans in #697 (backports #686)

Documentation

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

Other Changes

  • ๐Ÿท๏ธ Allow 64-bit Integer arguments in #696 (backports #675)
  • ๐Ÿฅ… Ensure send_number_data input is an Integer in #696 (backports #676)
  • โ™ป๏ธ Improve RawData.new, Add RawData.split by @nevans in #696 (backports #679)
  • ๐Ÿฅ… Validate response literal byte size format by @nevans in #696 (backports #681)

Miscellaneous

  • โœ… Improvements to tests' FakeServer in #696 (backports #678)

Full Changelog: v0.5.14...v0.5.15

Don't miss a new net-imap release

NewReleases is sending notifications on new releases.