[RELEASE] Redis 6.2.5, 6.0.15 and 5.0.13 are out!

313 views
Skip to first unread message

re...@redis.io

unread,
Jul 21, 2021, 3:51:27 PM7/21/21
to Redis mailing list

Hi everyone.

Today we've published patch-level releases for Redis versions 6.2, 6.0, and 5.0. Upgrade urgency for these is SECURITY, as they contain fixes to security issues that affect authenticated client connections on 32-bit versions. MODERATE otherwise.

Fix integer overflow in BITFIELD on 32-bit versions (CVE-2021-32761).
An integer overflow bug in Redis version 2.2 or newer can be exploited using the BITFIELD command to corrupt the heap and potentially result in remote code execution.

Following are each version's release notes.

Redis 6.2.5 Release

Bug fixes that involve behavior changes:

  • Change reply type for ZPOPMAX/MIN with count in RESP3 to nested array (#8981).
    Was using a flat array like in RESP2 instead of a nested array like ZRANGE does.
  • Fix reply type for HRANDFIELD and ZRANDMEMBER when key is missing (#9178).
    Was using a null array instead of an empty array.
  • Fix reply type for ZRANGESTORE when source key is missing (#9089).
    Was using an empty array like ZRANGE instead of 0 (used in the STORE variant).

Bug fixes that are only applicable to previous releases of Redis 6.2:

  • ZRANDMEMBER WITHSCORES with negative COUNT may return bad score (#9162)
  • Fix crash after CLIENT UNPAUSE when threaded I/O config is enabled (#9041)
  • Fix XTRIM or XADD with LIMIT may delete more entries than the limit (#9048)
  • Fix build issue with OpenSSL 1.1.0 (#9233)

Other bug fixes:

  • Fail EXEC command in case a watched key is expired (#9194)
  • Fix SMOVE not to invalidate dest key (WATCH and tracking) when member already exists (#9244)
  • Fix SINTERSTORE not to delete dest key when getting a wrong type error (#9032)
  • Fix overflows on 32-bit versions in GETBIT, SETBIT, BITCOUNT, BITPOS, and BITFIELD (#9191)
  • Improve MEMORY USAGE on stream keys (#9164)
  • Set TCP keepalive on inbound cluster bus connections (#9230)
  • Fix diskless replica loading to recover from RDB short read on module AUX data (#9199)
  • Fix race in client side tracking (#9116)
  • Fix ziplist length updates on big-endian platforms (#2080)

CLI tools:

  • redis-cli cluster import command may issue wrong MIGRATE command, sending COPY instead of REPLACE (#8945)
  • redis-cli --rdb fixes when using "-" to write to stdout (#9136, #9135)
  • redis-cli support for RESP3 set type in CSV and RAW output (#7338)

Modules:

  • Module API for getting current command name (#8792)
  • Fix RM_StringTruncate when newlen is 0 (#3718)
  • Fix CLIENT UNBLOCK crashing modules without timeout callback (#9167)
 

Bug fixes that involve behavior changes:

  • Change reply type for ZPOPMAX/MIN with count in RESP3 to nested array (#8981).
    Was using a flat array like in RESP2 instead of a nested array like ZRANGE does.

Bug fixes:

  • Fail EXEC command in case a watched key is expired (#9194)Fix SMOVE not to invalidate dest key (WATCH and tracking) when member already exists (#9244)
  • Fix SINTERSTORE not to delete dest key when getting a wrong type error (#9032)
  • Fix overflows on 32-bit versions in GETBIT, SETBIT, BITCOUNT, BITPOS, and BITFIELD (#9191)
  • Set TCP keepalive on inbound cluster bus connections (#9230)
  • Fix ziplist length updates on big-endian platforms (#2080)
  • Fix diskless replica loading to recover from RDB short read on module AUX data (#9199)
  • Fix race in client side tracking (#9116)
  • If diskless repl child is killed, make sure to reap the child pid (#7742)
  • Add a timeout mechanism for replicas stuck in fullsync (#8762)

CLI tools:

  • redis-cli cluster import support source and target that require auth (#7994)
  • redis-cli cluster import command may issue wrong MIGRATE command, sending COPY instead of REPLACE (#8945)
  • redis-cli support for RESP3 set type in CSV and RAW output (#7338)

Redis 5.0.13 Release

Bug fixes:

  • Fix overflows on 32-bit versions in GETBIT, SETBIT, BITCOUNT, BITPOS, and BITFIELD (#9191)
  • Fix ziplist length updates on big-endian platforms (#2080)
 
Cheers,
The Redis Team
Reply all
Reply to author
Forward
0 new messages